[Bf-blender-cvs] [1af82c0] master: Add "Basic" and "Options" tabs for Mesh Edit Mode.

Jonathan Williamson noreply at git.blender.org
Fri Jan 3 23:25:56 CET 2014


Commit: 1af82c0194e3247e04c56c6db977df10c089c6dd
Author: Jonathan Williamson
Date:   Fri Jan 3 16:21:52 2014 -0600
https://developer.blender.org/rB1af82c0194e3247e04c56c6db977df10c089c6dd

Add "Basic" and "Options" tabs for Mesh Edit Mode.

This creates the initial two tabs for Edit Mode to makes the new toolbar tabs usable. Further toolbar organization is to follow, but this at least makes the features work with the current organization.

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

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 8f5366f..d95b03e 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -289,6 +289,7 @@ class VIEW3D_PT_tools_add_mesh_edit(View3DPanel, Panel):
         col.operator("mesh.primitive_monkey_add", text="Monkey", icon="MESH_MONKEY")
 
 class VIEW3D_PT_tools_meshedit(View3DPanel, Panel):
+    bl_category = "Basic"
     bl_context = "mesh_edit"
     bl_label = "Mesh Tools"
 
@@ -363,6 +364,7 @@ class VIEW3D_PT_tools_meshedit(View3DPanel, Panel):
 
 
 class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel):
+    bl_category = "Options"
     bl_context = "mesh_edit"
     bl_label = "Mesh Options"




More information about the Bf-blender-cvs mailing list