diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 18:01:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 18:01:47 +0400 |
commit | 0d29b5c3df1da7200fe5f6d5e4b3a71b0334fc90 (patch) | |
tree | 4da856a6964ff88a6c4f3e4cf0cf50b0bdc65e20 /release | |
parent | f0db5e87350ebb984708d2147b92dcd7a2e72ab3 (diff) |
add bake action into animation menu - this nifty operator wasn't available anywhere in the UI.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/anim.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 4 |
2 files changed, 5 insertions, 1 deletions
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" |