Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-04-26 05:45:02 +0300
committerHans Goudey <h.goudey@me.com>2021-04-26 05:45:02 +0300
commit36c4b79c303e9337b759736b7398c563939c908e (patch)
treeb74995873a0ec671a17b73cac72f338f127af117
parent534148206492cd3463cf75a8a8983acb6166b2a6 (diff)
parentf2d70c02f88cc00266d330d89ea916e26c0ecf44 (diff)
Merge branch 'blender-v2.93-release'
-rw-r--r--source/blender/blenkernel/intern/geometry_component_instances.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/geometry_component_instances.cc b/source/blender/blenkernel/intern/geometry_component_instances.cc
index 11526eda762..feb30e8575a 100644
--- a/source/blender/blenkernel/intern/geometry_component_instances.cc
+++ b/source/blender/blenkernel/intern/geometry_component_instances.cc
@@ -44,6 +44,7 @@ GeometryComponent *InstancesComponent::copy() const
InstancesComponent *new_component = new InstancesComponent();
new_component->transforms_ = transforms_;
new_component->instanced_data_ = instanced_data_;
+ new_component->ids_ = ids_;
return new_component;
}
@@ -51,6 +52,7 @@ void InstancesComponent::clear()
{
instanced_data_.clear();
transforms_.clear();
+ ids_.clear();
}
void InstancesComponent::add_instance(Object *object, float4x4 transform, const int id)