Browse Source

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 months ago
parent
commit
a27160427e
1 changed files with 3 additions and 0 deletions
  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",