diff options
author | Jonathan Williamson <jonathan@cgcookie.com> | 2014-02-10 21:48:24 +0400 |
---|---|---|
committer | Jonathan Williamson <jonathan@cgcookie.com> | 2014-02-10 21:48:24 +0400 |
commit | e920206a900cf322f3894f13ffeb1568c1bdfd12 (patch) | |
tree | 0c430fdfd28d5bd4907eaa3151638bff9b543eef | |
parent | a0c54d71d8a432e85fbcd9b01d05a52dee2659c3 (diff) |
Add Tabs to Paint Modes
This adds tabs for Tools, Options, and Grease Pencil to Sculpt, Texture Paint, Vertex Paint, and Weight Paint. These tabs and their panel allocations were discussed in T38346.
Close T38346
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 0cc4494e594..f7b01bb5a2f 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -733,6 +733,7 @@ class View3DPaintPanel(UnifiedPaintPanel): class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel): + bl_category = "Tools" bl_label = "Brush" @classmethod @@ -960,8 +961,8 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel): class VIEW3D_PT_tools_brush_overlay(Panel, View3DPaintPanel): + bl_category = "Options" bl_label = "Overlay" - bl_options = {'DEFAULT_CLOSED'} @classmethod def poll(cls, context): @@ -1026,6 +1027,7 @@ class VIEW3D_PT_tools_brush_overlay(Panel, View3DPaintPanel): class VIEW3D_PT_tools_brush_texture(Panel, View3DPaintPanel): + bl_category = "Tools" bl_label = "Texture" bl_options = {'DEFAULT_CLOSED'} @@ -1050,6 +1052,7 @@ class VIEW3D_PT_tools_brush_texture(Panel, View3DPaintPanel): class VIEW3D_PT_tools_mask_texture(View3DPanel, Panel): + bl_category = "Tools" bl_context = "imagepaint" bl_label = "Texture Mask" bl_options = {'DEFAULT_CLOSED'} @@ -1073,6 +1076,7 @@ class VIEW3D_PT_tools_mask_texture(View3DPanel, Panel): class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): + bl_category = "Tools" bl_label = "Stroke" bl_options = {'DEFAULT_CLOSED'} @@ -1163,6 +1167,7 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): class VIEW3D_PT_tools_brush_curve(Panel, View3DPaintPanel): + bl_category = "Tools" bl_label = "Curve" bl_options = {'DEFAULT_CLOSED'} @@ -1190,6 +1195,7 @@ class VIEW3D_PT_tools_brush_curve(Panel, View3DPaintPanel): class VIEW3D_PT_sculpt_topology(Panel, View3DPaintPanel): + bl_category = "Tools" bl_label = "Topology" bl_options = {'DEFAULT_CLOSED'} @@ -1225,6 +1231,7 @@ class VIEW3D_PT_sculpt_topology(Panel, View3DPaintPanel): class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel): + bl_category = "Options" bl_label = "Options" bl_options = {'DEFAULT_CLOSED'} @@ -1261,6 +1268,7 @@ class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel): class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel): + bl_category = "Tools" bl_label = "Symmetry" bl_options = {'DEFAULT_CLOSED'} @@ -1285,8 +1293,8 @@ class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel): class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel): + bl_category = "Options" bl_label = "Appearance" - bl_options = {'DEFAULT_CLOSED'} @classmethod def poll(cls, context): @@ -1332,6 +1340,7 @@ class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel): class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel): + bl_category = "Tools" bl_context = "weightpaint" bl_label = "Weight Tools" @@ -1354,6 +1363,7 @@ class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel): class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel): + bl_category = "Options" bl_context = "weightpaint" bl_label = "Options" @@ -1391,6 +1401,7 @@ class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel): class VIEW3D_PT_tools_vertexpaint(Panel, View3DPaintPanel): + bl_category = "Options" bl_context = "vertexpaint" bl_label = "Options" @@ -1418,6 +1429,7 @@ class VIEW3D_PT_tools_vertexpaint(Panel, View3DPaintPanel): class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): + bl_category = "Options" bl_context = "imagepaint" bl_label = "Project Paint" @@ -1478,8 +1490,8 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): class VIEW3D_PT_imagepaint_options(View3DPaintPanel): + bl_category = "Options" bl_label = "Options" - bl_options = {'DEFAULT_CLOSED'} @classmethod def poll(cls, context): |