From 3971c83c96134099741d9522784269c73916852a Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sat, 6 Aug 2016 03:29:51 +1200 Subject: 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) --- release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 8 ++++---- source/blender/editors/gpencil/gpencil_data.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 c216d341450..1ad1536a3e1 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 c7b1164cb05..6f2ebbed7d7 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; -- cgit v1.2.3