Fix anim_utils.bake_action typo
D4172 by @rcorre
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user