Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2021-07-14 12:39:38 +0300
committerJeroen Bakker <jeroen@blender.org>2021-07-26 09:39:24 +0300
commit3e6ea470ee73159c2b82895396496a79448dfddc (patch)
tree2c6dab40eb4b5b0614082be39589344f02587c49
parent25a1b27a93ee406232194b2c09b0668c78209256 (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
-rw-r--r--source/blender/nodes/intern/node_tree_ref.cc2
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 49ef1ecf9f7..2b05edef7f3 100644
--- a/source/blender/nodes/intern/node_tree_ref.cc
+++ b/source/blender/nodes/intern/node_tree_ref.cc
@@ -358,7 +358,7 @@ bool NodeTreeRef::has_undefined_nodes_or_sockets() const
return true;
}
}
- return true;
+ return false;
}
std::string NodeTreeRef::to_dot() const