[Bf-blender-cvs] [3dd6dbd] GPencil_EditStrokes: Change order of Grease Pencil drawing tools in the toolshelf
Joshua Leung
noreply at git.blender.org
Sun Oct 12 06:37:59 CEST 2014
Commit: 3dd6dbdc6ff3880eef7331bef71cdcaa60d67777
Author: Joshua Leung
Date: Sun Oct 12 17:36:45 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB3dd6dbdc6ff3880eef7331bef71cdcaa60d67777
Change order of Grease Pencil drawing tools in the toolshelf
Draw and Erase are now on the same row, while the two line-segment drawing modes
are on the bottom row.
===================================================================
M release/scripts/startup/bl_ui/properties_grease_pencil_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 2de2822..c2870cf 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -40,11 +40,12 @@ class GreasePencilDrawingToolsPanel():
col.label(text="Draw:")
row = col.row(align=True)
row.operator("gpencil.draw", text="Draw").mode = 'DRAW'
- row.operator("gpencil.draw", text="Line").mode = 'DRAW_STRAIGHT'
+ row.operator("gpencil.draw", text="Erase").mode = 'ERASER'
row = col.row(align=True)
+ row.operator("gpencil.draw", text="Line").mode = 'DRAW_STRAIGHT'
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", text="Continuous Drawing")
More information about the Bf-blender-cvs
mailing list