Fixed a bunch of node class initializations
This commit is contained in:
parent
38103be7d3
commit
7414a6846a
|
@ -12,6 +12,7 @@ class ArrayAddNode(ArmLogicTreeNode):
|
|||
arm_version = 1
|
||||
|
||||
def __init__(self):
|
||||
super(ArrayAddNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class BooleanArrayNode(ArmLogicTreeNode):
|
|||
arm_section = 'variable'
|
||||
|
||||
def __init__(self):
|
||||
super(BooleanArrayNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class ColorArrayNode(ArmLogicTreeNode):
|
|||
arm_section = 'variable'
|
||||
|
||||
def __init__(self):
|
||||
super(ColorArrayNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class FloatArrayNode(ArmLogicTreeNode):
|
|||
arm_section = 'variable'
|
||||
|
||||
def __init__(self):
|
||||
super(FloatArrayNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class IntegerArrayNode(ArmLogicTreeNode):
|
|||
arm_section = 'variable'
|
||||
|
||||
def __init__(self):
|
||||
super(IntegerArrayNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class ObjectArrayNode(ArmLogicTreeNode):
|
|||
arm_section = 'variable'
|
||||
|
||||
def __init__(self):
|
||||
super(ObjectArrayNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class StringArrayNode(ArmLogicTreeNode):
|
|||
arm_section = 'variable'
|
||||
|
||||
def __init__(self):
|
||||
super(StringArrayNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class VectorArrayNode(ArmLogicTreeNode):
|
|||
arm_section = 'variable'
|
||||
|
||||
def __init__(self):
|
||||
super(VectorArrayNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -54,6 +54,7 @@ class OnSwipeNode(ArmLogicTreeNode):
|
|||
max_outputs = 12
|
||||
|
||||
def __init__(self):
|
||||
super(OnSwipeNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -10,6 +10,7 @@ class CallFunctionNode(ArmLogicTreeNode):
|
|||
min_inputs = 3
|
||||
|
||||
def __init__(self):
|
||||
super(CallFunctionNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -12,6 +12,7 @@ class FunctionNode(ArmLogicTreeNode):
|
|||
min_outputs = 1
|
||||
|
||||
def __init__(self):
|
||||
super(FunctionNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -34,6 +34,7 @@ class GateNode(ArmLogicTreeNode):
|
|||
property1: FloatProperty(name='Tolerance', description='Precision for float compare', default=0.0001)
|
||||
|
||||
def __init__(self):
|
||||
super(GateNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -11,6 +11,7 @@ class MergeNode(ArmLogicTreeNode):
|
|||
arm_version = 1
|
||||
|
||||
def __init__(self):
|
||||
super(MergeNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -8,6 +8,7 @@ class SequenceNode(ArmLogicTreeNode):
|
|||
arm_version = 1
|
||||
|
||||
def __init__(self):
|
||||
super(SequenceNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -12,6 +12,7 @@ class SwitchNode(ArmLogicTreeNode):
|
|||
min_outputs = 1
|
||||
|
||||
def __init__(self):
|
||||
super(SwitchNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -25,6 +25,7 @@ class CompareNode(ArmLogicTreeNode):
|
|||
property1: FloatProperty(name='Tolerance', description='Precision for float compare', default=0.0001)
|
||||
|
||||
def __init__(self):
|
||||
super(CompareNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
|
@ -7,6 +7,7 @@ class ConcatenateStringNode(ArmLogicTreeNode):
|
|||
arm_version = 1
|
||||
|
||||
def __init__(self):
|
||||
super(ConcatenateStringNode, self).__init__()
|
||||
array_nodes[str(id(self))] = self
|
||||
|
||||
def init(self, context):
|
||||
|
|
Loading…
Reference in a new issue