Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Williamson <jonathan@cgcookie.com>2014-01-03 07:44:41 +0400
committerJonathan Williamson <jonathan@cgcookie.com>2014-01-04 01:28:19 +0400
commit11bb89a6320b1c9b590b82f74d1c351f9995064b (patch)
tree32da90ac98053c6d2905200e9aa715589ecc4664 /release
parent8a3923107c7bf09c834222504ee33279d9e326fc (diff)
Cleanup the Grease Pencil panel of the 3D View Toolbar.
This makes the panel slightly cleaner, giving more separation between the distinct elements. It also adds a new "Measure" label, so that the Ruler/Protractor is not so closely "related" to the Grease Pencil.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py10
1 files changed, 7 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 bba4ad1d3a9..2cfa43e4c7d 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -57,14 +57,18 @@ def draw_gpencil_tools(context, layout):
row = col.row(align=True)
row.operator("gpencil.draw", text="Draw").mode = 'DRAW'
row.operator("gpencil.draw", text="Line").mode = 'DRAW_STRAIGHT'
-
+ row.separator()
row = col.row(align=True)
row.operator("gpencil.draw", text="Poly").mode = 'DRAW_POLY'
row.operator("gpencil.draw", text="Erase").mode = 'ERASER'
- row = col.row(align=True)
- row.prop(context.tool_settings, "use_grease_pencil_sessions")
+ col.separator()
+
+ col.prop(context.tool_settings, "use_grease_pencil_sessions")
+ col.separator()
+
+ col.label(text="Measure:")
col.operator("view3d.ruler")
# ********** default tools for object-mode ****************