소스 검색

Fix: Spline IK import in Blender 4.5+

a parameter was removed by Blender, so I have to remove
 the socket
this should also be handled in versioning
or maybe I should add versioning to the socket definitions
Joseph Brandenburg 3 달 전
부모
커밋
a27160427e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      i_o.py

+ 3 - 0
i_o.py

@@ -17,6 +17,9 @@ SOCKETS_REMOVED=[("UtilityDriverVariable", "Transform Channel"),
 
 from bpy.app import version
 
+if version >= (4,5,0):
+    SOCKETS_REMOVED.append( ("LinkSplineIK", "Use Original Scale"))
+
 add_inputs_bl_idnames = [
     "UtilityDriver", "UtilityFCurve", "DeformerMorphTargetDeform",
     "LinkArmature",