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:
authorCampbell Barton <ideasman42@gmail.com>2019-03-18 10:20:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-18 10:26:14 +0300
commit1d1e06b376eef66923b5e3a6e134a0bbbeb6c754 (patch)
treeaab309edeaccbe37561ba72078b497b83dcbc755 /source/blender/editors/interface/interface_eyedropper_colorband.c
parentb749e43cd3e2a76a58f3fb7b47959b684061ea9b (diff)
Cleanup: rename color band to color ramp
Diffstat (limited to 'source/blender/editors/interface/interface_eyedropper_colorband.c')
-rw-r--r--source/blender/editors/interface/interface_eyedropper_colorband.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/interface/interface_eyedropper_colorband.c b/source/blender/editors/interface/interface_eyedropper_colorband.c
index 8e588352b56..6c60640b428 100644
--- a/source/blender/editors/interface/interface_eyedropper_colorband.c
+++ b/source/blender/editors/interface/interface_eyedropper_colorband.c
@@ -27,8 +27,8 @@
* - Clicking on points, adding each color to the end of the color-band.
*
* Defines:
- * - #UI_OT_eyedropper_colorband
- * - #UI_OT_eyedropper_colorband_point
+ * - #UI_OT_eyedropper_colorramp
+ * - #UI_OT_eyedropper_colorramp_point
*/
#include "MEM_guardedalloc.h"
@@ -318,11 +318,11 @@ static bool eyedropper_colorband_poll(bContext *C)
}
-void UI_OT_eyedropper_colorband(wmOperatorType *ot)
+void UI_OT_eyedropper_colorramp(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Eyedropper colorband";
- ot->idname = "UI_OT_eyedropper_colorband";
+ ot->idname = "UI_OT_eyedropper_colorramp";
ot->description = "Sample a color band";
/* api callbacks */
@@ -338,11 +338,11 @@ void UI_OT_eyedropper_colorband(wmOperatorType *ot)
/* properties */
}
-void UI_OT_eyedropper_colorband_point(wmOperatorType *ot)
+void UI_OT_eyedropper_colorramp_point(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Eyedropper colorband (points)";
- ot->idname = "UI_OT_eyedropper_colorband_point";
+ ot->idname = "UI_OT_eyedropper_colorramp_point";
ot->description = "Point-sample a color band";
/* api callbacks */