Explorar o código

Cleanup misguided changes in DummyNode

Joseph Brandenburg hai 2 semanas
pai
achega
2f545bea82
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      internal_containers.py

+ 0 - 9
internal_containers.py

@@ -11,7 +11,6 @@ class DummyNode(MantisNode):
         self.prepared = True
         self.uuid = uuid4()
         self.solver = None
-        self.did_set_variables = False
         if prototype:
             if prototype.bl_idname in ["MantisSchemaGroup"]:
                 self.node_type = 'DUMMY_SCHEMA'
@@ -33,14 +32,6 @@ class DummyNode(MantisNode):
         # this is ugly and I hate it.
         self.execution_prepared=True # in case it gets left behind in the tree as a dependency
 
-    def bPrepare(self, bContext=None):
-        from .utilities import set_string_variables_during_exec
-        set_string_variables_during_exec(self, self.mContext)
-        self.did_set_variables = True # I just need to know if this is getting them all
-
-    def __del__(self):
-        print (self, self.did_set_variables)
-
 class NoOpNode(MantisNode):
     def __init__(self, signature, base_tree):
         super().__init__(signature, base_tree)