Kaynağa Gözat

temporarily hide BBone HQ Deformation socket

Joseph Brandenburg 1 ay önce
ebeveyn
işleme
15afceb101
2 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 1 0
      xForm_nodes.py
  2. 2 0
      xForm_nodes_ui.py

+ 1 - 0
xForm_nodes.py

@@ -92,6 +92,7 @@ class xFormNode(MantisNode):
                             has_driver = check_for_driver(self, socket, i)
                             if has_driver: break
                     elif multi:
+                        # TODO: this is a HACK, try and understand this later
                         if socket == 'Custom Properties':
                             has_driver = check_for_driver(self, socket,)
                         else:

+ 2 - 0
xForm_nodes_ui.py

@@ -177,6 +177,8 @@ class xFormBoneNode(Node, xFormNode):
                 if category == "bbone":
                     if name in ['BBone Segments']: continue
                     self.inputs[name].hide = not self.display_bb_settings
+        # TEMPORARY HACK because this one is basically not implemented
+        self.inputs['BBone HQ Deformation'].hide = True
 
 def object_displaty_update(self, parsed_tree, context):
     custom_prop_display_update(self)