From 11bb89a6320b1c9b590b82f74d1c351f9995064b Mon Sep 17 00:00:00 2001 From: Jonathan Williamson Date: Thu, 2 Jan 2014 21:44:41 -0600 Subject: 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. --- release/scripts/startup/bl_ui/space_view3d_toolbar.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'release') 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 **************** -- cgit v1.2.3