[Bf-blender-cvs] [3971c83] master: GPencil: Various UI name fixes

Joshua Leung noreply at git.blender.org
Fri Aug 5 17:50:16 CEST 2016


Commit: 3971c83c96134099741d9522784269c73916852a
Author: Joshua Leung
Date:   Sat Aug 6 03:29:51 2016 +1200
Branches: master
https://developer.blender.org/rB3971c83c96134099741d9522784269c73916852a

GPencil: Various UI name fixes

* "Flip direction" -> "Flip Direction"
* "Show drawing direction" -> "Show Directions"
* "Grease Pencil Curves" -> "Brush Curves"
  (I was considering "Brush Response Curves" instead, but that seemed like too much
   of a mouthful)
* "X" for removing a palette. The UI there was more similar to a standard datablock
  selector, so it should use the "+X" combo instead of "+-" combo for consistency.
  (Note though, presets tend to use "+-" instead - e.g. see the Render Settings)

===================================================================

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py
M	source/blender/editors/gpencil/gpencil_data.c

===================================================================

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 c216d34..1ad1536 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -190,11 +190,11 @@ class GreasePencilStrokeEditPanel:
         col = layout.column(align=True)
         col.operator("gpencil.stroke_join", text="Join").type = 'JOIN'
         col.operator("gpencil.stroke_join", text="Join & Copy").type = 'JOINCOPY'
-        col.operator("gpencil.stroke_flip", text="Flip direction")
+        col.operator("gpencil.stroke_flip", text="Flip Direction")
 
         gpd = context.gpencil_data
         if gpd:
-            col.prop(gpd, "show_stroke_direction", text="Show drawing direction")
+            col.prop(gpd, "show_stroke_direction", text="Show Directions")
 
 
 class GreasePencilBrushPanel:
@@ -326,7 +326,7 @@ class GreasePencilStrokeSculptPanel:
 class GreasePencilBrushCurvesPanel:
     # subclass must set
     # bl_space_type = 'IMAGE_EDITOR'
-    bl_label = "Grease Pencil Curves"
+    bl_label = "Brush Curves"
     bl_category = "Grease Pencil"
     bl_region_type = 'TOOLS'
     bl_options = {'DEFAULT_CLOSED'}
@@ -925,7 +925,7 @@ class GreasePencilPaletteColorPanel:
             row.operator_menu_enum("gpencil.palette_change", "palette", text="", icon='COLOR')
             row.prop(palette, "name", text="")
             row.operator("gpencil.palette_add", icon='ZOOMIN', text="")
-            row.operator("gpencil.palette_remove", icon='ZOOMOUT', text="")
+            row.operator("gpencil.palette_remove", icon='X', text="")
 
             # Palette colors
             row = layout.row()
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index c7b1164..6f2ebbe 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -1380,7 +1380,7 @@ void GPENCIL_OT_stroke_flip(wmOperatorType *ot)
 	/* identifiers */
 	ot->name = "Flip Stroke";
 	ot->idname = "GPENCIL_OT_stroke_flip";
-	ot->description = "Change drawing direction of selected strokes";
+	ot->description = "Change direction of the points of the selected strokes";
 
 	/* api callbacks */
 	ot->exec = gp_stroke_flip_exec;




More information about the Bf-blender-cvs mailing list