add bake action into animation menu - this nifty operator wasn't available anywhere...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 8 Feb 2012 14:01:47 +0000 (14:01 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 8 Feb 2012 14:01:47 +0000 (14:01 +0000)
release/scripts/startup/bl_operators/anim.py
release/scripts/startup/bl_ui/space_view3d.py

index 066e18354767628bd60460c8a9df51dbd56c4a97..d26a7728af1c45eb5aaf31ef952df1b3c67856cf 100644 (file)
@@ -161,7 +161,7 @@ class ANIM_OT_keying_set_export(Operator):
 
 
 class BakeAction(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'}
     bl_idname = "nla.bake"
     bl_label = "Bake Action"
     bl_options = {'REGISTER', 'UNDO'}
index dff9ca4d9191d66b8459ae93619033bc522cde9f..93cec3326db3936b79ded72b9219cc40b27104b6 100644 (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.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"
 
 class VIEW3D_MT_object_clear(Menu):
     bl_label = "Clear"