[Bf-blender-cvs] [50d88a3] GPencil_EditStrokes: Bugfix: Wrong label for scale operator in toolbar
Joshua Leung
noreply at git.blender.org
Fri Oct 10 12:25:59 CEST 2014
Commit: 50d88a316db39c8f759febf4ac02af4caae19525
Author: Joshua Leung
Date: Fri Oct 10 11:48:38 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB50d88a316db39c8f759febf4ac02af4caae19525
Bugfix: Wrong label for scale operator in toolbar
===================================================================
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 68e2a3a..c87ef61 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -53,6 +53,7 @@ class GreasePencilPanel():
col.separator()
col.label(text="Edit Strokes:")
+ # TODO: transform operators need to have a proper poll operator put on them for use here
col.operator("gpencil.strokes_duplicate", text="Duplicate")
col.operator("transform.mirror", text="Mirror").gpencil_strokes = True
@@ -61,7 +62,7 @@ class GreasePencilPanel():
subcol = col.column(align=True)
subcol.operator("transform.translate").gpencil_strokes = True # icon='MAN_TRANS'
subcol.operator("transform.rotate").gpencil_strokes = True # icon='MAN_ROT'
- subcol.operator("transform.resize").gpencil_strokes = True # icon='MAN_SCALE'
+ subcol.operator("transform.resize", text="Scale").gpencil_strokes = True # icon='MAN_SCALE'
if context.space_data.type == 'VIEW_3D':
col.separator()
More information about the Bf-blender-cvs
mailing list