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'
This commit is contained in:
William Reynish
2020-04-13 07:49:21 +02:00
parent 71a333f56e
commit e63d5f40ee

View File

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