From a44ac44c1e1d1a4eff5824711e7763d9feae122b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 10 Jan 2019 13:11:48 +1100 Subject: [PATCH] Fix anim_utils.bake_action typo D4172 by @rcorre --- release/scripts/modules/bpy_extras/anim_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/scripts/modules/bpy_extras/anim_utils.py b/release/scripts/modules/bpy_extras/anim_utils.py index c545d237329..970512833b4 100644 --- a/release/scripts/modules/bpy_extras/anim_utils.py +++ b/release/scripts/modules/bpy_extras/anim_utils.py @@ -47,12 +47,12 @@ def bake_action( :return: an action or None :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 action, = bake_action_objects( [(obj, action)], - frames, + frames=frames, **kwargs, ) return action