diff options
author | Jacques Lucke <jacques@blender.org> | 2021-09-07 14:18:59 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-09-07 14:18:59 +0300 |
commit | c2ce68a0187ff8d6c8d0beafa0a3d655899a1d8f (patch) | |
tree | 8af3cb0b4c81065132f95a4976f2982ca0817aeb /source/blender | |
parent | 8cc3d2d6f51f9f05c568104be17c6643edfff101 (diff) |
Fix T91238: crash when instancing geometry group input
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_point_instance.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc b/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc index 9f67638de7e..f5ab9c053c1 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc @@ -121,6 +121,7 @@ static Vector<InstanceReference> get_instance_references__collection(GeoNodeExec static Vector<InstanceReference> get_instance_references__geometry(GeoNodeExecParams ¶ms) { GeometrySet geometry_set = params.extract_input<GeometrySet>("Instance Geometry"); + geometry_set.ensure_owns_direct_data(); return {std::move(geometry_set)}; } |