Jelajahi Sumber

Fix: Update other Schema when exiting Node Group

Joseph Brandenburg 3 bulan lalu
induk
melakukan
7642eb9127
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      ops_nodegroup.py

+ 2 - 1
ops_nodegroup.py

@@ -161,7 +161,8 @@ class MantisEditGroup(Operator):
                 # call update to force the node group to check if its tree has changed
                 # now we need to loop through the tree and update all node groups of this type.
                 from .utilities import get_all_nodes_of_type
-                for g in get_all_nodes_of_type(base_tree, "MantisNodeGroup"):
+                for g in get_all_nodes_of_type(base_tree, "MantisNodeGroup") + \
+                         get_all_nodes_of_type(base_tree, "MantisSchemaGroup"):
                     if g.node_tree == active.node_tree:
                         g.is_updating = True
                         active.is_updating = True