Browse Source

Fix: Spline IK broken

Joseph Brandenburg 2 weeks ago
parent
commit
4ac2bc26ff
1 changed files with 2 additions and 1 deletions
  1. 2 1
      link_nodes.py

+ 2 - 1
link_nodes.py

@@ -839,7 +839,8 @@ class LinkSplineIK(MantisLinkNode):
             proto_curve = None
             node_line, _last_socket = trace_single_line(self, "Target")
             for other_node in node_line: # trace and get the input
-                if other_node.node_type == 'XFORM': proto_curve = other_node.bGetObject()
+                if other_node.node_type == 'XFORM':
+                    proto_curve = other_node.bGetObject(); break
             from .utilities import get_extracted_spline_object
             curve = get_extracted_spline_object(proto_curve, spline_index, self.mContext)
             # link it to the view layer