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:
authorBenjy Cook <benjycook@hotmail.com>2011-10-14 14:26:21 +0400
committerBenjy Cook <benjycook@hotmail.com>2011-10-14 14:26:21 +0400
commite7b91a7d14194f6c9e8b3f3c8a2b3d154344b132 (patch)
tree831ba06e56122e8bb49a39f40efd56bfd53fd923
parent96e13f19828fbf7746ba1077cae55da3a0326cf6 (diff)
Fixed call to bake_action (step->frame_step) after change in that functions argument name
-rw-r--r--mocap/retarget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mocap/retarget.py b/mocap/retarget.py
index e7f4bc11..377d3f1c 100644
--- a/mocap/retarget.py
+++ b/mocap/retarget.py
@@ -520,7 +520,7 @@ def totalRetarget(performer_obj, enduser_obj, scene, s_frame, e_frame):
else:
prepareForBake(enduser_obj)
print("Retargeting pose (Advanced Retarget)")
- bake_action(s_frame, e_frame, action=enduser_obj.animation_data.action, only_selected=True, do_pose=True, do_object=False, step=step)
+ bake_action(s_frame, e_frame, action=enduser_obj.animation_data.action, only_selected=True, do_pose=True, do_object=False, frame_step=step)
name = performer_obj.animation_data.action.name[:10]
#We trim the name down to 10 chars because of Action Name length maximum
enduser_obj.animation_data.action.name = "Base " + name