Jelajahi Sumber

Fix: Instant UI update stopped working; also v0.11.9

Joseph Brandenburg 5 bulan lalu
induk
melakukan
4e35a602b9
3 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 1 1
      __init__.py
  2. 1 1
      blender_manifest.toml
  3. 1 0
      socket_definitions.py

+ 1 - 1
__init__.py

@@ -16,7 +16,7 @@ from .utilities import prRed
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=11
-MANTIS_VERSION_SUB=8
+MANTIS_VERSION_SUB=9
 
 classLists = [module.TellClasses() for module in [
  link_definitions,

+ 1 - 1
blender_manifest.toml

@@ -3,7 +3,7 @@ schema_version = "1.0.0"
 # Example of manifest file for a Blender extension
 # Change the values according to your extension
 id = "mantis"
-version = "0.11.8"
+version = "0.11.9"
 name = "Mantis"
 tagline = "Mantis is a rigging nodes toolkit"
 maintainer = "Nodespaghetti <josephbburg@protonmail.com>"

+ 1 - 0
socket_definitions.py

@@ -276,6 +276,7 @@ def default_update(ui_socket, context, do_execute=True):
         from .utilities import tree_from_nc
         for mantis_node in node_tree.parsed_tree.values():
             # check to see if the mantis node is in the same ui-tree as this ui_socket
+            if mantis_node.ui_signature is None: continue # autogenerated nodes
             if mantis_node.ui_signature[-1] == ui_socket.node.name and \
                         tree_from_nc(mantis_node.ui_signature, node_tree) == ui_socket.node.id_data:
                 node_updated = True