diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-07-14 12:39:38 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-07-14 12:55:07 +0300 |
commit | 5583d517730f4c7ad487c099df0394700a246675 (patch) | |
tree | d2fa408ed9b99fd31a058504686944454b1e1b0e /source/blender | |
parent | 192f0c9e17e233ecc3a66432d34abeb5a3741739 (diff) |
Fix T89851: Geometry nodes: wrongly detected "Node group has unidentified
nodes or sockets" error
rBfe22635bf664 introduced a utility to check for this (but it was always
returning true).
This wasnt a problem in master (since it is unused there), but in the
2.93 branch, this utility is actually used and the error results in all
geometry nodetrees to appear with the "Node group has unidentified nodes
or sockets" message (and being unusable).
Now return false in has_undefined_nodes_or_sockets if all nodes and
sockets have been successfully checked.
This commit then needs to end up in the 2.93 branch.
Maniphest Tasks: T89851
Differential Revision: https://developer.blender.org/D11911
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/intern/node_tree_ref.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/node_tree_ref.cc b/source/blender/nodes/intern/node_tree_ref.cc index bed4d60382d..9ce9d6fc273 100644 --- a/source/blender/nodes/intern/node_tree_ref.cc +++ b/source/blender/nodes/intern/node_tree_ref.cc @@ -461,7 +461,7 @@ bool NodeTreeRef::has_undefined_nodes_or_sockets() const return true; } } - return true; + return false; } std::string NodeTreeRef::to_dot() const |