Post Retarget fixes - added an Update Constraints button, that recalculates all fixes...
[blender.git] / release / scripts / modules / mocap_constraints.py
index 8fd42d173926801de05ef92dd260468eef15aff5..75afbe622312319387240805350243ecb921d5d8 100644 (file)
@@ -419,3 +419,10 @@ def unbakeConstraints(context):
             if ik_con:
                 ik_con.mute = False
         m_constraint.active = True
+
+
+def updateConstraints(obj, context):
+    fixes = obj.data.mocap_constraints
+    for fix in fixes:
+        fix.active = False
+        fix.active = True