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)
This commit is contained in:
Joshua Leung 2016-08-06 03:29:51 +12:00
parent 83ee537398
commit 3971c83c96
2 changed files with 5 additions and 5 deletions

View 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()

View 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;