[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2439] trunk/py/scripts/addons/mocap/ retarget.py: Fixed call to bake_action (step->frame_step) after change in that functions argument name

Benjy Cook benjycook at hotmail.com
Fri Oct 14 12:26:22 CEST 2011


Revision: 2439
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2439
Author:   benjycook
Date:     2011-10-14 10:26:21 +0000 (Fri, 14 Oct 2011)
Log Message:
-----------
Fixed call to bake_action (step->frame_step) after change in that functions argument name

Modified Paths:
--------------
    trunk/py/scripts/addons/mocap/retarget.py

Modified: trunk/py/scripts/addons/mocap/retarget.py
===================================================================
--- trunk/py/scripts/addons/mocap/retarget.py	2011-10-14 10:13:58 UTC (rev 2438)
+++ trunk/py/scripts/addons/mocap/retarget.py	2011-10-14 10:26:21 UTC (rev 2439)
@@ -520,7 +520,7 @@
     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



More information about the Bf-extensions-cvs mailing list