add bake action into animation menu - this nifty operator wasn't available anywhere in the UI.

This commit is contained in:
Campbell Barton
2012-02-08 14:01:47 +00:00
parent f0db5e8735
commit 0d29b5c3df
2 changed files with 5 additions and 1 deletions

View File

@@ -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'}

View File

@@ -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"