Browse Source

Fix: versioning incorrect check for ALL tasks

Joseph Brandenburg 2 tháng trước cách đây
mục cha
commit
787e2fd8a0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      __init__.py

+ 1 - 1
__init__.py

@@ -273,7 +273,7 @@ def node_version_update(node):
             arg_map['node']=node
         if 'node_tree' in required_kwargs:
             arg_map['node_tree']=node.id_data
-        if bl_idname == 'ALL' or node.bl_idname in bl_idname:
+        if ('ALL' in bl_idname) or node.bl_idname in bl_idname:
             if do_once:
                 print (f"Updating tree {node.id_data.name} to "
                        f"{MANTIS_VERSION_MAJOR}.{MANTIS_VERSION_MINOR}.{MANTIS_VERSION_SUB}")