Skip to content
Snippets Groups Projects
Commit e7b91a7d authored by Benjy Cook's avatar Benjy Cook
Browse files

Fixed call to bake_action (step->frame_step) after change in that functions argument name

parent 96e13f19
No related branches found
No related tags found
No related merge requests found
...@@ -520,7 +520,7 @@ def totalRetarget(performer_obj, enduser_obj, scene, s_frame, e_frame): ...@@ -520,7 +520,7 @@ def totalRetarget(performer_obj, enduser_obj, scene, s_frame, e_frame):
else: else:
prepareForBake(enduser_obj) prepareForBake(enduser_obj)
print("Retargeting pose (Advanced Retarget)") 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] name = performer_obj.animation_data.action.name[:10]
#We trim the name down to 10 chars because of Action Name length maximum #We trim the name down to 10 chars because of Action Name length maximum
enduser_obj.animation_data.action.name = "Base " + name enduser_obj.animation_data.action.name = "Base " + name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment