Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2016-08-05 18:29:51 +0300
committerJoshua Leung <aligorith@gmail.com>2016-08-05 18:49:14 +0300
commit3971c83c96134099741d9522784269c73916852a (patch)
tree73c815f0fdb1551966c4204b50cbe40b1affc168
parent83ee53739845fc2c66c56111e1c292b1b720cac6 (diff)
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)
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py8
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c2
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;