Explorar o código

Fix: Spline IK broken

Joseph Brandenburg hai 2 semanas
pai
achega
7251a054fc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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