[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43985] trunk/blender/release/scripts/ startup: add bake action into animation menu - this nifty operator wasn' t available anywhere in the UI.
Campbell Barton
ideasman42 at gmail.com
Wed Feb 8 15:01:55 CET 2012
Revision: 43985
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43985
Author: campbellbarton
Date: 2012-02-08 14:01:47 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
add bake action into animation menu - this nifty operator wasn't available anywhere in the UI.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_operators/anim.py
trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
Modified: trunk/blender/release/scripts/startup/bl_operators/anim.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/anim.py 2012-02-08 11:52:44 UTC (rev 43984)
+++ trunk/blender/release/scripts/startup/bl_operators/anim.py 2012-02-08 14:01:47 UTC (rev 43985)
@@ -161,7 +161,7 @@
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'}
Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2012-02-08 11:52:44 UTC (rev 43984)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2012-02-08 14:01:47 UTC (rev 43985)
@@ -751,7 +751,11 @@
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"
More information about the Bf-blender-cvs
mailing list