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:
authorAntonioya <blendergit@gmail.com>2018-11-18 20:07:16 +0300
committerAntonioya <blendergit@gmail.com>2018-11-18 20:07:16 +0300
commit991bb0076219d944225304175ac7ad58b881d173 (patch)
tree2e1327a366bdb2536cdeca527ad38d5d93a2b2e8 /source/blender
parent1b7b1d60c5df7f2ca498e27c3f0977ff4a8ac25b (diff)
GP: Rename GPENCIL_OT_brush_paint to GPENCIL_OT_sculpt_paint
This makes the operator name more consistent. Part of T57818
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/gpencil/gpencil_brush.c4
-rw-r--r--source/blender/editors/gpencil/gpencil_intern.h2
-rw-r--r--source/blender/editors/gpencil/gpencil_ops.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c
index 18ff0efd3f9..0c603927c1c 100644
--- a/source/blender/editors/gpencil/gpencil_brush.c
+++ b/source/blender/editors/gpencil/gpencil_brush.c
@@ -2091,11 +2091,11 @@ static int gpsculpt_brush_modal(bContext *C, wmOperator *op, const wmEvent *even
return OPERATOR_RUNNING_MODAL;
}
-void GPENCIL_OT_brush_paint(wmOperatorType *ot)
+void GPENCIL_OT_sculpt_paint(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Stroke Sculpt";
- ot->idname = "GPENCIL_OT_brush_paint";
+ ot->idname = "GPENCIL_OT_sculpt_paint";
ot->description = "Apply tweaks to strokes by painting over the strokes"; // XXX
/* api callbacks */
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h
index d94b5d49add..d737d34a017 100644
--- a/source/blender/editors/gpencil/gpencil_intern.h
+++ b/source/blender/editors/gpencil/gpencil_intern.h
@@ -328,7 +328,7 @@ void GPENCIL_OT_reproject(struct wmOperatorType *ot);
/* stroke sculpting -- */
-void GPENCIL_OT_brush_paint(struct wmOperatorType *ot);
+void GPENCIL_OT_sculpt_paint(struct wmOperatorType *ot);
/* buttons editing --- */
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c
index a199f943a8d..01221f57f05 100644
--- a/source/blender/editors/gpencil/gpencil_ops.c
+++ b/source/blender/editors/gpencil/gpencil_ops.c
@@ -266,7 +266,7 @@ void ED_operatortypes_gpencil(void)
WM_operatortype_append(GPENCIL_OT_reproject);
- WM_operatortype_append(GPENCIL_OT_brush_paint);
+ WM_operatortype_append(GPENCIL_OT_sculpt_paint);
/* Editing (Buttons) ------------ */