[Bf-blender-cvs] [e63d5f40eef] master: Fix T75667: Use of incorrect terminology in the brush_colors_flip operator
William Reynish
noreply at git.blender.org
Mon Apr 13 07:50:19 CEST 2020
Commit: e63d5f40eef3349f26205d42cf7d11f9c01df6d9
Author: William Reynish
Date: Mon Apr 13 07:49:21 2020 +0200
Branches: master
https://developer.blender.org/rBe63d5f40eef3349f26205d42cf7d11f9c01df6d9
Fix T75667: Use of incorrect terminology in the brush_colors_flip operator
- The word 'Flip' is incorrect. 'Swap' or 'Switch' is correct.
- In Blender, we use 'primary' & 'secondary' color swatches, not 'foreground' and 'background'
===================================================================
M source/blender/editors/sculpt_paint/paint_image.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c
index 4d4af028570..1a2b44a03b4 100644
--- a/source/blender/editors/sculpt_paint/paint_image.c
+++ b/source/blender/editors/sculpt_paint/paint_image.c
@@ -1288,9 +1288,9 @@ static bool brush_colors_flip_poll(bContext *C)
void PAINT_OT_brush_colors_flip(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Brush Colors Flip";
+ ot->name = "Swap Colors";
ot->idname = "PAINT_OT_brush_colors_flip";
- ot->description = "Toggle foreground and background brush colors";
+ ot->description = "Swap primary and secondary brush colors";
/* api callbacks */
ot->exec = brush_colors_flip_exec;
More information about the Bf-blender-cvs
mailing list