[Bf-blender-cvs] [8a39231] master: Add Undo/Redo and Undo History to the History tab of the 3D View Toolbar
Jonathan Williamson
noreply at git.blender.org
Fri Jan 3 22:28:56 CET 2014
Commit: 8a3923107c7bf09c834222504ee33279d9e326fc
Author: Jonathan Williamson
Date: Thu Jan 2 21:40:06 2014 -0600
https://developer.blender.org/rB8a3923107c7bf09c834222504ee33279d9e326fc
Add Undo/Redo and Undo History to the History tab of the 3D View Toolbar
===================================================================
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index f39c616..bba4ad1 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -271,7 +271,7 @@ class VIEW3D_PT_tools_animation(View3DPanel, Panel):
row.operator("object.paths_clear", text="Clear")
col.separator()
-
+
col.label(text="Action:")
col.operator("nla.bake", text="Bake Action")
@@ -318,7 +318,14 @@ class VIEW3D_PT_tools_objectmode(View3DPanel, Panel):
def draw(self, context):
layout = self.layout
+ col = layout.column(align=True)
+ row = col.row(align=True)
+ row.operator("ed.undo")
+ row.operator("ed.redo")
+ col.operator("ed.undo_history")
+
draw_repeat_tools(context, layout)
+
# ********** default tools for editmode_mesh ****************
More information about the Bf-blender-cvs
mailing list