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.
This commit is contained in:
Hans Goudey 2021-06-01 23:50:23 -04:00
parent 6b5bbd22d9
commit 711ddea60e
Notes: blender-bot 2023-02-14 09:17:57 +01:00
Referenced by issue #88746, Geometry Delete Node Crash
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}