Prechádzať zdrojové kódy

Fix: floor constraint code bad

this is what I get for coding tired
forgot a socket and left some
code that was from the Armature constraint
I copied it from, which shouldn't have been here
Joseph Brandenburg 4 mesiacov pred
rodič
commit
7cbc4865c2
4 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 1 1
      __init__.py
  2. 1 1
      blender_manifest.toml
  3. 0 1
      link_containers.py
  4. 1 0
      link_socket_templates.py

+ 1 - 1
__init__.py

@@ -16,7 +16,7 @@ from .utilities import prRed
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=11
-MANTIS_VERSION_SUB=13
+MANTIS_VERSION_SUB=14
 
 classLists = [module.TellClasses() for module in [
  link_definitions,

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

+ 0 - 1
link_containers.py

@@ -849,7 +849,6 @@ class LinkFloor(MantisLinkNode):
         super().__init__(signature, base_tree, LinkFloorSockets)
         self.init_parameters(additional_parameters={"Name":None })
         self.set_traverse([("Input Relationship", "Output Relationship")])
-        setup_custom_props(self) # <-- this takes care of the runtime-added sockets
 
     def bExecute(self, bContext = None,):
         prepare_parameters(self)

+ 1 - 0
link_socket_templates.py

@@ -418,6 +418,7 @@ LinkFloorSockets = [
             is_input=True, default_value=False, blender_property='use_rotation',),
     TargetSpaceTemplate,
     OwnerSpaceTemplate,
+    InfluenceTemplate,
     EnableTemplate,
     OutputRelationshipTemplate,
 ]