Fix: crash executing geometry nodes on undefined node tree type #105564

Merged

1 Commits

Author SHA1 Message Date
Lukas Tönne 846f0500ad Node tree updates can crash if the tree contains a node group that points at an
"undefined" tree type. This can happen if the tree is linked from a library
and the path is lost, or if a custom (python) tree is used and the script is not
run.

The fix is to check if the node group type is valid ("registered") and return an empty list otherwise.
2023-03-08 12:07:33 +01:00