diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-16 10:32:41 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-16 10:32:54 +0300 |
commit | db0c37f2f712a1522938a3e257c1608c972b85d2 (patch) | |
tree | f811f30da38e0305bdc6c976d3eed02a7a71f580 /source/blender | |
parent | 9901679ce820bb00a3aeecc384fca1a1194d0d87 (diff) |
GP: Rename select group color to materials
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_select.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c index 977143bd4fe..38f0e85e1cb 100644 --- a/source/blender/editors/gpencil/gpencil_select.c +++ b/source/blender/editors/gpencil/gpencil_select.c @@ -360,7 +360,7 @@ typedef enum eGP_SelectGrouped { GP_SEL_SAME_LAYER = 0, /* Select strokes with the same color */ - GP_SEL_SAME_COLOR = 1, + GP_SEL_SAME_MATERIAL = 1, /* TODO: All with same prefix - Useful for isolating all layers for a particular character for instance */ /* TODO: All with same appearance - colour/opacity/volumetric/fills ? */ @@ -413,7 +413,7 @@ static void gp_select_same_layer(bContext *C) } /* Select all strokes with same colors as selected ones */ -static void gp_select_same_color(bContext *C) +static void gp_select_same_material(bContext *C) { /* First, build set containing all the colors of selected strokes */ GSet *selected_colors = BLI_gset_str_new("GP Selected Colors"); @@ -468,8 +468,8 @@ static int gpencil_select_grouped_exec(bContext *C, wmOperator *op) case GP_SEL_SAME_LAYER: gp_select_same_layer(C); break; - case GP_SEL_SAME_COLOR: - gp_select_same_color(C); + case GP_SEL_SAME_MATERIAL: + gp_select_same_material(C); break; default: @@ -491,7 +491,7 @@ void GPENCIL_OT_select_grouped(wmOperatorType *ot) { static const EnumPropertyItem prop_select_grouped_types[] = { {GP_SEL_SAME_LAYER, "LAYER", 0, "Layer", "Shared layers"}, - {GP_SEL_SAME_COLOR, "COLOR", 0, "Color", "Shared colors"}, + {GP_SEL_SAME_MATERIAL, "MATERIAL", 0, "Material", "Shared materials"}, {0, NULL, 0, NULL, NULL} }; |