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:
parent
6b5bbd22d9
commit
711ddea60e
Notes:
blender-bot
2023-02-14 09:17:57 +01:00
Referenced by issue #88746, Geometry Delete Node Crash
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue