Cleanup: spelling

This commit is contained in:
2021-05-10 16:17:06 +10:00
parent 3b7df2e157
commit f2370bb22d
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ void InstancesComponent::reserve(int min_capacity)
/** /**
* Resize the transform, handles, and ID vectors to the specified capacity. * Resize the transform, handles, and ID vectors to the specified capacity.
* *
* \note This function should be used carefully, only when it's guarenteed * \note This function should be used carefully, only when it's guaranteed
* that the data will be filled. * that the data will be filled.
*/ */
void InstancesComponent::resize(int capacity) void InstancesComponent::resize(int capacity)

View File

@@ -723,7 +723,7 @@ static void lib_override_library_create_post_process(Main *bmain,
switch (GS(id_ref->name)) { switch (GS(id_ref->name)) {
case ID_GR: { case ID_GR: {
/* Adding the object to a specific collection outside of the root overridden one is a /* Adding the object to a specific collection outside of the root overridden one is a
* fairly bad idea (it breaks the override hierarchy concept). But htere is no other * fairly bad idea (it breaks the override hierarchy concept). But there is no other
* way to do this currently (we cannot add new collections to overridden root one, * way to do this currently (we cannot add new collections to overridden root one,
* this is not currently supported). * this is not currently supported).
* Since that will be fairly annoying and noisy, only do that in case the override * Since that will be fairly annoying and noisy, only do that in case the override

View File

@@ -130,7 +130,7 @@ static Vector<InstanceReference> get_instance_references(GeoNodeExecParams &para
/** /**
* Add the instance references to the component as a separate step from actually creating the * Add the instance references to the component as a separate step from actually creating the
* instances in order to avoid a map lookup for every transform. While this might add some * instances in order to avoid a map lookup for every transform. While this might add some
* unecessary references if they are not chosen while adding transforms, in the common cases * unnecessary references if they are not chosen while adding transforms, in the common cases
* there are many more transforms than there are references, so that isn't likely. * there are many more transforms than there are references, so that isn't likely.
*/ */
static Array<int> add_instance_references(InstancesComponent &instance_component, static Array<int> add_instance_references(InstancesComponent &instance_component,