Browse Source

Fix: hook target wasn't working

Joseph Brandenburg 4 tháng trước cách đây
mục cha
commit
28325d9942
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      deformer_containers.py

+ 1 - 1
deformer_containers.py

@@ -43,7 +43,7 @@ class MantisDeformerNode(MantisNode):
         self.bObject=[]
     # we need evaluate_input to have the same behaviour as links.
     def evaluate_input(self, input_name, index=0):
-        if (input_name in ['Target', 'Object']):
+        if (input_name in ['Target', 'Object', 'Hook Target']):
             socket = self.inputs.get(input_name)
             if socket.is_linked:
                 return socket.links[0].from_node