From e7b91a7d14194f6c9e8b3f3c8a2b3d154344b132 Mon Sep 17 00:00:00 2001
From: Benjy Cook <benjycook@hotmail.com>
Date: Fri, 14 Oct 2011 10:26:21 +0000
Subject: [PATCH] Fixed call to bake_action (step->frame_step) after change in
 that functions argument name

---
 mocap/retarget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mocap/retarget.py b/mocap/retarget.py
index e7f4bc117..377d3f1c6 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
-- 
GitLab