Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-19 20:19:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-19 20:19:08 +0400
commit9ac0a714bee5df2153e0a73bb55962139ba18eb2 (patch)
tree029104d14b7e942dd616bf8443e09d0461ac6350 /mocap/mocap_constraints.py
parent5e44117da5a35882e7f3919f4c48c234acebe045 (diff)
indentation edits and copy pyrimid from contrib (where I had made some edits), removed so this wont happen again.
Diffstat (limited to 'mocap/mocap_constraints.py')
-rw-r--r--mocap/mocap_constraints.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/mocap/mocap_constraints.py b/mocap/mocap_constraints.py
index a8d88c3a..d9f41ea1 100644
--- a/mocap/mocap_constraints.py
+++ b/mocap/mocap_constraints.py
@@ -363,11 +363,11 @@ def bakeAllConstraints(obj, s_frame, e_frame, bones):
ik = retarget.hasIKConstraint(end_bone)
cons_obj = getConsObj(end_bone)
if ik:
- #If it's an auto generated IK:
- if ik.chain_count == 0:
- selectedBones += bones # Chain len 0, bake everything
- else:
- selectedBones += [end_bone] + end_bone.parent_recursive[:ik.chain_count - 1] # Bake the chain
+ #If it's an auto generated IK:
+ if ik.chain_count == 0:
+ selectedBones += bones # Chain len 0, bake everything
+ else:
+ selectedBones += [end_bone] + end_bone.parent_recursive[:ik.chain_count - 1] # Bake the chain
else:
#It's either an FK bone which we should just bake
#OR a user created IK target bone