Explorar o código

Cleanup Delete More outdated Boilerplate

Joseph Brandenburg hai 1 mes
pai
achega
c38275054b
Modificáronse 7 ficheiros con 0 adicións e 58 borrados
  1. 0 8
      deformer_nodes_ui.py
  2. 0 26
      link_nodes_ui.py
  3. 0 3
      math_nodes_ui.py
  4. 0 4
      misc_nodes_ui.py
  5. 0 2
      primitives_nodes_ui.py
  6. 0 9
      schema_nodes_ui.py
  7. 0 6
      xForm_nodes_ui.py

+ 0 - 8
deformer_nodes_ui.py

@@ -33,7 +33,6 @@ class DeformerArmatureNode(Node, DeformerNode):
     bl_idname = 'DeformerArmature'
     bl_label = "Armature Deform"
     bl_icon = 'MOD_ARMATURE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = DeformArmatureSockets
     
@@ -50,7 +49,6 @@ class DeformerHook(Node, DeformerNode):
     bl_idname = 'DeformerHook'
     bl_label = "Hook Deform"
     bl_icon = 'HOOK'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = HookSockets
     
@@ -108,7 +106,6 @@ class DeformerMorphTargetDeform(Node, DeformerNode):
     bl_idname = 'DeformerMorphTargetDeform'
     bl_label = "Morph Deform"
     bl_icon = 'MOD_ARMATURE'
-    initialized : bpy.props.BoolProperty(default = False)
     num_targets : bpy.props.IntProperty(default = 0)
     mantis_node_class_name=bl_idname
     socket_templates = MorphTargetDeformSockets
@@ -178,7 +175,6 @@ class DeformerMorphTarget(Node, DeformerNode):
     bl_idname = 'DeformerMorphTarget'
     bl_label = "Morph Target"
     bl_icon = 'SHAPEKEY_DATA'
-    initialized : bpy.props.BoolProperty(default = False)
     num_targets : bpy.props.IntProperty(default = 0)
     mantis_node_class_name=bl_idname
     socket_templates = MorphTargetSockets
@@ -188,7 +184,6 @@ class DeformerSurfaceDeform(Node, DeformerNode):
     bl_idname = 'DeformerSurfaceDeform'
     bl_label = "Surface Deform"
     bl_icon = 'MOD_SOFT'
-    initialized : bpy.props.BoolProperty(default = False)
     num_targets : bpy.props.IntProperty(default = 0)
     mantis_node_class_name=bl_idname
     socket_templates = SurfaceDeformSockets
@@ -198,7 +193,6 @@ class DeformerMeshDeform(Node, DeformerNode):
     bl_idname = 'DeformerMeshDeform'
     bl_label = "Mesh Deform"
     bl_icon = 'MOD_SOFT'
-    initialized : bpy.props.BoolProperty(default = False)
     num_targets : bpy.props.IntProperty(default = 0)
     mantis_node_class_name=bl_idname
     socket_templates = MeshDeformSockets
@@ -208,7 +202,6 @@ class DeformerLatticeDeform(Node, DeformerNode):
     bl_idname = 'DeformerLatticeDeform'
     bl_label = "Lattice Deform"
     bl_icon = 'MOD_LATTICE'
-    initialized : bpy.props.BoolProperty(default = False)
     num_targets : bpy.props.IntProperty(default = 0)
     mantis_node_class_name=bl_idname
     socket_templates = LatticeDeformSockets
@@ -218,7 +211,6 @@ class DeformerSmoothCorrectiveDeform(Node, DeformerNode):
     bl_idname = 'DeformerSmoothCorrectiveDeform'
     bl_label = "Smooth Deform"
     bl_icon = 'MOD_SMOOTH'
-    initialized : bpy.props.BoolProperty(default = False)
     num_targets : bpy.props.IntProperty(default = 0)
     mantis_node_class_name=bl_idname
     socket_templates = SmoothDeformSockets

+ 0 - 26
link_nodes_ui.py

@@ -50,7 +50,6 @@ class LinkInheritNode(Node, LinkNode):
     # need to fix this
     bl_label = "Inherit"
     bl_icon = 'CONSTRAINT_BONE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name="LinkInherit"
     socket_templates = LinkInheritSockets
     category_color=inheritColor
@@ -92,7 +91,6 @@ class LinkInverseKinematics(Node, LinkNode):
     bl_idname = 'LinkInverseKinematics'
     bl_label = "Inverse Kinematics"
     bl_icon = 'CON_KINEMATIC'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkInverseKinematicsSockets
@@ -102,7 +100,6 @@ class LinkCopyLocationNode(Node, LinkNode):
     bl_idname = 'LinkCopyLocation'
     bl_label = "Copy Location"
     bl_icon = 'CON_LOCLIKE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkCopyLocationSockets
@@ -112,7 +109,6 @@ class LinkCopyRotationNode(Node, LinkNode):
     bl_idname = 'LinkCopyRotation'
     bl_label = "Copy Rotation"
     bl_icon = 'CON_ROTLIKE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkCopyRotationSockets
@@ -122,31 +118,24 @@ class LinkCopyScaleNode(Node, LinkNode):
     bl_idname = 'LinkCopyScale'
     bl_label = "Copy Scale"
     bl_icon = 'CON_SIZELIKE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkCopyScaleSockets
 
 class LinkInheritConstraintNode(Node, LinkNode):
-    # === Basics ===
-    # Description string
     '''A node representing a parent constraint'''
     bl_idname = 'LinkInheritConstraint'
     bl_label = "Inherit (constraint)"
     bl_icon = 'CON_CHILDOF'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=inheritColor
     socket_templates = LinkInheritConstraintSockets
 
 class LinkCopyTransformNode(Node, LinkNode):
-    # === Basics ===
-    # Description string
     '''A node representing Copy Transform'''
     bl_idname = 'LinkCopyTransforms'
     bl_label = "Copy Transform"
     bl_icon = 'CON_TRANSLIKE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkCopyTransformsSockets
@@ -156,7 +145,6 @@ class LinkStretchToNode(Node, LinkNode):
     bl_idname = 'LinkStretchTo'
     bl_label = "Stretch To"
     bl_icon = 'CON_STRETCHTO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=trackingColor
     socket_templates = LinkStretchToSockets
@@ -166,7 +154,6 @@ class LinkDampedTrackNode(Node, LinkNode):
     bl_idname = 'LinkDampedTrack'
     bl_label = "Damped Track"
     bl_icon = 'CON_TRACKTO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=trackingColor
     socket_templates = LinkDampedTrackSockets
@@ -176,7 +163,6 @@ class LinkLockedTrackNode(Node, LinkNode):
     bl_idname = 'LinkLockedTrack'
     bl_label = "Locked Track"
     bl_icon = 'CON_LOCKTRACK'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=trackingColor
     socket_templates = LinkLockedTrackSockets
@@ -186,7 +172,6 @@ class LinkTrackToNode(Node, LinkNode):
     bl_idname = 'LinkTrackTo'
     bl_label = "Track To"
     bl_icon = 'CON_TRACKTO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=trackingColor
     socket_templates = LinkTrackToSockets
@@ -197,7 +182,6 @@ class LinkLimitLocationNode(Node, LinkNode):
     bl_label = "Limit Location"
     bl_icon = 'CON_LOCLIMIT'
     mantis_node_class_name=bl_idname
-    initialized : bpy.props.BoolProperty(default = False)
     category_color=linkTransformColor
     socket_templates = LinkLimitLocationScaleSockets
 
@@ -206,7 +190,6 @@ class LinkLimitScaleNode(Node, LinkNode):
     bl_idname = 'LinkLimitScale'
     bl_label = "Limit Scale"
     bl_icon = 'CON_SIZELIMIT'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkLimitLocationScaleSockets
@@ -216,7 +199,6 @@ class LinkLimitRotationNode(Node, LinkNode):
     bl_idname = 'LinkLimitRotation'
     bl_label = "Limit Rotation"
     bl_icon = 'CON_ROTLIMIT'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkLimitRotationSockets
@@ -226,7 +208,6 @@ class LinkLimitDistanceNode(Node, LinkNode):
     bl_idname = 'LinkLimitDistance'
     bl_label = "Limit Distance"
     bl_icon = 'CON_DISTLIMIT'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkLimitDistanceSockets
@@ -236,7 +217,6 @@ class LinkTransformationNode(Node, LinkNode):
     bl_idname = 'LinkTransformation'
     bl_label = "Transformation"
     bl_icon = 'CON_TRANSFORM'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkTransformationSockets
@@ -270,7 +250,6 @@ class LinkArmatureNode(Node, LinkNode):
     bl_idname = "LinkArmature"
     bl_label = "Armature (Constraint)"
     bl_icon = "CON_ARMATURE"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=inheritColor
     socket_templates = LinkArmatureSockets
@@ -288,7 +267,6 @@ class LinkSplineIKNode(Node, LinkNode):
     bl_idname = "LinkSplineIK"
     bl_label = "Spline IK"
     bl_icon = "CON_SPLINEIK"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=ikColor
     socket_templates = LinkSplineIKSockets
@@ -298,7 +276,6 @@ class LinkFloorNode(Node, LinkNode):
     bl_idname = "LinkFloor"
     bl_label = "Floor"
     bl_icon = "CON_FLOOR"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkFloorSockets
@@ -308,7 +285,6 @@ class LinkShrinkWrapNode(Node, LinkNode):
     bl_idname = "LinkShrinkWrap"
     bl_label = "Shrinkwrap"
     bl_icon = "CON_SHRINKWRAP"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=trackingColor
     socket_templates = LinkShrinkWrapSockets
@@ -351,7 +327,6 @@ class LinkGeometryAttribute(Node, LinkNode):
         bl_icon = "CON_GEOMETRYATTRIBUTE"
     else:
         bl_icon = "ERROR"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkGeometryAttributeSockets
@@ -388,7 +363,6 @@ class LinkDrivenParameterNode(Node, LinkNode):
     bl_idname = "LinkDrivenParameter"
     bl_label = "Driven Parameter"
     bl_icon = "CONSTRAINT_BONE"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     category_color=linkTransformColor
     socket_templates = LinkDrivenParameterSockets

+ 0 - 3
math_nodes_ui.py

@@ -21,7 +21,6 @@ class MathStaticInt(Node, MantisMathUINode):
     bl_idname = "MathStaticInt"
     bl_label = "Static Int Math"
     bl_icon = "NODE"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = StaticIntSockets
 
@@ -40,7 +39,6 @@ class MathStaticFloatNode(Node, MantisMathUINode):
     bl_idname = "MathStaticFloat"
     bl_label = "Static Float Math"
     bl_icon = "NODE"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = StaticFloatSockets
 
@@ -59,7 +57,6 @@ class MathStaticVectorNode(Node, MantisMathUINode):
     bl_idname = "MathStaticVector"
     bl_label = "Static Vector Math"
     bl_icon = "NODE"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = StaticVectorSockets
 

+ 0 - 4
misc_nodes_ui.py

@@ -194,7 +194,6 @@ class InputThemeBoneColorSets(Node, MantisMiscNode):
     bl_idname = "InputThemeBoneColorSets"
     bl_label = "Theme Colors"
     bl_width_min=280
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     
     def init(self, context):
@@ -208,7 +207,6 @@ class InputColorSetPallete(Node, MantisMiscNode):
     bl_idname = "InputColorSetPallete"
     bl_label = "Color Pallete"
     bl_width_min=280
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     
     def init(self, context):
@@ -354,7 +352,6 @@ class UtilityBonePropertiesNode(Node, MantisMiscNode):
     """Provides as sockets strings identifying bone transform properties."""
     bl_idname = "UtilityBoneProperties"
     bl_label = "Bone Properties"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates=BonePropertiesSockets
         
@@ -577,7 +574,6 @@ class UtilityDeclareCollections(Node, MantisMiscNode):
     bl_label  = "Collections"
     bl_icon   = "NODE"
     bl_width_min = 320
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     # Here is the layout of the data:
     # nested dicts of key:dict ( key = name, dict = children)

+ 0 - 2
primitives_nodes_ui.py

@@ -17,7 +17,6 @@ class GeometryCirclePrimitive(Node, GeometryPrimitiveNode):
     bl_idname = 'GeometryCirclePrimitive'
     bl_label = "Circle Primitive"
     bl_icon = 'NODE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name="CirclePrimitive"
     socket_templates = CirclePrimitiveSockets
 
@@ -27,6 +26,5 @@ class GeometryLattice(Node, GeometryPrimitiveNode):
     bl_idname = "GeometryLattice"
     bl_label = "Lattice"
     bl_icon = "NODE"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = LatticeSockets

+ 0 - 9
schema_nodes_ui.py

@@ -36,7 +36,6 @@ class SchemaIndex(Node, SchemaUINode):
     bl_idname = 'SchemaIndex'
     bl_label = "Index"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = SchemaIndexSockets
 
@@ -45,7 +44,6 @@ class SchemaArrayInput(Node, SchemaUINode):
     bl_idname = 'SchemaArrayInput'
     bl_label = "Array Input at Current Index"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
 
     def init(self, context):
@@ -78,7 +76,6 @@ class SchemaArrayInputAll(Node, SchemaUINode):
     bl_idname = 'SchemaArrayInputAll'
     bl_label = "Get entire Array Input"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
 
     def init(self, context):
@@ -111,7 +108,6 @@ class SchemaArrayInputGet(Node, SchemaUINode):
     bl_idname = 'SchemaArrayInputGet'
     bl_label = "Array Input at Index"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = SchemaArrayInputGetSockets
 
@@ -146,7 +142,6 @@ class SchemaArrayOutput(Node, SchemaUINode):
     bl_idname = 'SchemaArrayOutput'
     bl_label = "Array Output"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
 
     def init(self, context):
@@ -181,7 +176,6 @@ class SchemaConstInput(Node, SchemaUINode):
     bl_idname = 'SchemaConstInput'
     bl_label = "Constant Input"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     
     def init(self, context):
@@ -216,7 +210,6 @@ class SchemaConstOutput(Node, SchemaUINode):
     bl_idname = 'SchemaConstOutput'
     bl_label = "Constant Output"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     
     def init(self, context):
@@ -256,7 +249,6 @@ class SchemaOutgoingConnection(Node, SchemaUINode):
     bl_idname = 'SchemaOutgoingConnection'
     bl_label = "Outgoing Connection"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     
     def init(self, context):
@@ -293,7 +285,6 @@ class SchemaIncomingConnection(Node, SchemaUINode):
     bl_idname = 'SchemaIncomingConnection'
     bl_label = "Incoming Connection"
     bl_icon = 'GIZMO'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
 
     def init(self, context):

+ 0 - 6
xForm_nodes_ui.py

@@ -126,7 +126,6 @@ class xFormBoneNode(Node, xFormNode):
     display_vp_settings : bpy.props.BoolProperty(default=False)
     display_def_settings : bpy.props.BoolProperty(default=False)
     display_bb_settings : bpy.props.BoolProperty(default=False)
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname[:-4]
     socket_templates = xFormBoneSockets
     
@@ -184,7 +183,6 @@ class xFormArmatureNode(Node, xFormNode):
     bl_idname = 'xFormArmatureNode'
     bl_label = "Armature"
     bl_icon = 'OUTLINER_OB_ARMATURE'
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname[:-4]
     socket_templates = xFormArmatureSockets
 
@@ -199,7 +197,6 @@ class xFormGeometryObjectNode(Node, xFormNode):
     bl_idname = "xFormGeometryObject"
     bl_label = "Geometry Object"
     bl_icon = "EMPTY_AXIS"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = xFormGeometryObjectSockets
 
@@ -214,7 +211,6 @@ class xFormObjectInstance(Node, xFormNode):
     bl_idname = "xFormObjectInstance"
     bl_label = "Object Instance"
     bl_icon = "EMPTY_AXIS"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = xFormGeometryObjectInstanceSockets
 
@@ -229,7 +225,6 @@ class xFormCurvePin(Node, xFormNode):
     bl_idname = "xFormCurvePin"
     bl_label = "Curve Pin"
     bl_icon = "FORCE_CURVE"
-    initialized : bpy.props.BoolProperty(default = False)
     mantis_node_class_name=bl_idname
     socket_templates = xFormCurvePinSockets
 
@@ -238,7 +233,6 @@ class xFormGetBone(Node, xFormNode):
     bl_idname = "xFormGetBone"
     bl_label = "Existing Bone"
     bl_icon = "BONE_DATA"
-    initialized : bpy.props.BoolProperty(default = False)
     armature : bpy.props.StringProperty(default="")
     mantis_node_class_name=bl_idname
     socket_templates = xFormGetBoneSockets