Cleanup: spelling
This commit is contained in:
@@ -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)
|
||||||
|
@@ -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
|
||||||
|
@@ -130,7 +130,7 @@ static Vector<InstanceReference> get_instance_references(GeoNodeExecParams ¶
|
|||||||
/**
|
/**
|
||||||
* 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,
|
||||||
|
Reference in New Issue
Block a user