Browse Source

some unsaved stuff I forgot to add. trash?

Brandenburg 1 month ago
parent
commit
4343696338
3 changed files with 4 additions and 5 deletions
  1. 2 0
      link_nodes.py
  2. 1 1
      ops_nodegroup.py
  3. 1 4
      readtree.py

+ 2 - 0
link_nodes.py

@@ -124,6 +124,8 @@ class MantisLinkNode(MantisNode):
     def bFinalize(self, bContext=None):
         finish_drivers(self)
 
+
+
 #*#-------------------------------#++#-------------------------------#*#
 # L I N K   N O D E S
 #*#-------------------------------#++#-------------------------------#*#

+ 1 - 1
ops_nodegroup.py

@@ -1,4 +1,4 @@
-import bpy
+qimport bpy
 from bpy.types import Operator
 from mathutils import Vector
 

+ 1 - 4
readtree.py

@@ -502,10 +502,7 @@ def parse_tree(base_tree, error_popups=False):
                 continue
             else:
                 prGreen(nc)
-                for input in nc.inputs:
-                    for l in input.links:
-                        print (l)
-                        raise RuntimeError
+                # but this doesn't have any links at this point?
                 # hold it. its purpose is to gather its string variables at runtime
                 pass
         # cleanup autogen nodes