Fix anim_utils.bake_action typo

D4172 by @rcorre
This commit is contained in:
Campbell Barton
2019-01-10 13:11:48 +11:00
parent 11f9938eed
commit a44ac44c1e

View File

@@ -47,12 +47,12 @@ def bake_action(
:return: an action or None :return: an action or None
:rtype: :class:`bpy.types.Action` :rtype: :class:`bpy.types.Action`
""" """
if not (do_pose or do_object): if not (kwargs.get("do_pose") or kwargs.get("do_object")):
return None return None
action, = bake_action_objects( action, = bake_action_objects(
[(obj, action)], [(obj, action)],
frames, frames=frames,
**kwargs, **kwargs,
) )
return action return action