diff options
-rw-r--r-- | release/scripts/startup/bl_operators/anim.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py index 2689cfda8eb..5a428467f12 100644 --- a/release/scripts/startup/bl_operators/anim.py +++ b/release/scripts/startup/bl_operators/anim.py @@ -223,6 +223,11 @@ class BakeAction(Operator): return {'FINISHED'} def invoke(self, context, event): + scene = context.scene + self.frame_start = scene.frame_start + self.frame_end = scene.frame_end + self.bake_types = {'POSE'} if context.mode == 'POSE' else {'OBJECT'} + wm = context.window_manager return wm.invoke_props_dialog(self) |