diff options
Diffstat (limited to 'mocap/__init__.py')
-rw-r--r-- | mocap/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mocap/__init__.py b/mocap/__init__.py index b56bb342..99a9d4a8 100644 --- a/mocap/__init__.py +++ b/mocap/__init__.py @@ -239,6 +239,8 @@ def updateIKRetarget(): updateIKRetarget() + + def hasIKConstraint(pose_bone): #utility function / predicate, returns True if given bone has IK constraint ik = [constraint for constraint in pose_bone.constraints if constraint.type == "IK"] |