From 0d29b5c3df1da7200fe5f6d5e4b3a71b0334fc90 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 Feb 2012 14:01:47 +0000 Subject: [PATCH] add bake action into animation menu - this nifty operator wasn't available anywhere in the UI. --- release/scripts/startup/bl_operators/anim.py | 2 +- release/scripts/startup/bl_ui/space_view3d.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py index 066e1835476..d26a7728af1 100644 --- a/release/scripts/startup/bl_operators/anim.py +++ b/release/scripts/startup/bl_operators/anim.py @@ -161,7 +161,7 @@ class ANIM_OT_keying_set_export(Operator): class BakeAction(Operator): - """Bake animation to an Action""" + """Bake object/pose loc/scale/rotation animation to a new action""" bl_idname = "nla.bake" bl_label = "Bake Action" bl_options = {'REGISTER', 'UNDO'} diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index dff9ca4d919..93cec3326db 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -751,6 +751,10 @@ class VIEW3D_MT_object_animation(Menu): layout.operator("anim.keyframe_delete_v3d", text="Delete Keyframe...") layout.operator("anim.keying_set_active_set", text="Change Keying Set...") + layout.separator() + + layout.operator("nla.bake", text="Bake Action...") + class VIEW3D_MT_object_clear(Menu): bl_label = "Clear"