GPencil: Various UI name fixes
authorJoshua Leung <aligorith@gmail.com>
Fri, 5 Aug 2016 15:29:51 +0000 (03:29 +1200)
committerJoshua Leung <aligorith@gmail.com>
Fri, 5 Aug 2016 15:49:14 +0000 (03:49 +1200)
* "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)

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

index c216d3414507feaa540242b35641f0b32fe87500..1ad1536a3e1a0a0ac2072f415d34a4e429403105 100644 (file)
@@ -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()
index c7b1164cb059f75afa727ab067a42a1efea4b07e..6f2ebbed7d73c5ac5f3c7a58e95dcabe79143183 100644 (file)
@@ -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;