[Bf-blender-cvs] [3a3cce2] master: Basic Tab for Object Mode 3D View Toolbar

Jonathan Williamson noreply at git.blender.org
Fri Jan 3 22:28:50 CET 2014


Commit: 3a3cce2e9b08f88361ccddaa795f12710ce627b1
Author: Jonathan Williamson
Date:   Tue Dec 31 12:53:06 2013 -0600
https://developer.blender.org/rB3a3cce2e9b08f88361ccddaa795f12710ce627b1

Basic Tab for Object Mode 3D View Toolbar

This updates the organization and naming of the Basic tab for the 3D View toolbar. It reorganizes the tools that were already there and adds Mirror and Duplicate Linked object operators.

===================================================================

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 d9bbf3e..cca2244 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -72,7 +72,7 @@ def draw_gpencil_tools(context, layout):
 class VIEW3D_PT_tools_basic(View3DPanel, Panel):
     bl_category = "Basic"
     bl_context = "objectmode"
-    bl_label = "Basic"
+    bl_label = "Object Operations"
 
     def draw(self, context):
         layout = self.layout
@@ -87,14 +87,19 @@ class VIEW3D_PT_tools_basic(View3DPanel, Panel):
         if active_object and active_object.type in {'MESH', 'CURVE', 'SURFACE'}:
 
             col = layout.column(align=True)
+            col.operator("transform.mirror", text="Mirror")
+            
+            col = layout.column(align=True)
+            col.operator("object.origin_set", text="Set Origin")
+
+            col = layout.column(align=True)
             col.label(text="Object:")
-            col.operator("object.join")
             col.operator("object.duplicate_move", text="Duplicate")
             col.operator("object.duplicate_move_linked", text="Duplicate Linked")
-            col.operator("object.delete")
-
+            
             col = layout.column(align=True)
-            col.operator("object.origin_set", text="Origin")
+            col.operator("object.join")
+            col.operator("object.delete")
 
             col = layout.column(align=True)
             col.label(text="Shading:")




More information about the Bf-blender-cvs mailing list