diff options
author | Hans Goudey <h.goudey@me.com> | 2021-06-02 06:50:23 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-02 06:50:23 +0300 |
commit | 711ddea60e3d0985d6d7c44024debb72fbae985d (patch) | |
tree | 24b20491c42b5730b5f2d56bf9089a1b95e5b797 /source/blender/nodes | |
parent | 6b5bbd22d9f8da025697f9078cf98a07e4e5ac99 (diff) |
Fix assert with geometry node output
The previous commit (my own) returned early without providing a value
for the node's output geometry set, which is required.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc b/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc index 4769126fa3c..4692cef6616 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc @@ -492,6 +492,7 @@ static void geo_node_delete_geometry_exec(GeoNodeExecParams params) const bool invert = params.extract_input<bool>("Invert"); const std::string selection_name = params.extract_input<std::string>("Selection"); if (selection_name.empty()) { + params.set_output("Geometry", std::move(geometry_set)); return; } |