1
0

2 Commits 317badc742 ... ba34c875af

Autor SHA1 Nachricht Datum
  Joseph Brandenburg ba34c875af v0.13.4 update version string vor 1 Woche
  Joseph Brandenburg a4d2fd6d95 Fix: Mantis fails to execute Array Get nodes with Drivers vor 1 Woche
2 geänderte Dateien mit 10 neuen und 2 gelöschten Zeilen
  1. 9 1
      base_definitions.py
  2. 1 1
      blender_manifest.toml

+ 9 - 1
base_definitions.py

@@ -83,7 +83,7 @@ def hash_tree(tree):
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=13
-MANTIS_VERSION_SUB=3
+MANTIS_VERSION_SUB=4
 
 class MantisTree(NodeTree):
     '''A custom node tree type that will show up in the editor type list'''
@@ -990,6 +990,14 @@ class DummyLink:
 def detect_hierarchy_link(from_node, from_socket, to_node, to_socket,):
     if to_node.node_type in ['DUMMY_SCHEMA', 'SCHEMA']:
         return False #TODO: find out if filtering SCHEMA types is wise
+    if from_socket in from_name_filter and to_socket in ["Array"]:
+        # SPECIAL CASE: arrays essentially extend the non-hierarchy edge
+        #       so if the connection to the array isn't hierarchy, the array node
+        #       in the middle gets disconnected and never executes.
+        #       SO we need to make all the edges until the end hierarchy.
+        #       TODO: test the graph for cycles and tag the "last" edge in the cycle
+        #             is the general solution but that is toooooo slow in Python
+        return True
     if (from_socket in from_name_filter) or (to_socket in to_name_filter):
         return False
     # if from_node.__class__.__name__ in ["UtilityCombineVector", "UtilityCombineThreeBool"]:

+ 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.13.3"
+version = "0.13.4"
 name = "Mantis"
 tagline = "Mantis is a rigging nodes toolkit"
 maintainer = "Nodespaghetti <josephbburg@protonmail.com>"