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:
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index d89bb91fb47..63c33d767e4 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -8121,6 +8121,9 @@ static int sculpt_sample_color_invoke(bContext *C,
brush->rgb[1] = active_vertex_color[1];
brush->rgb[2] = active_vertex_color[2];
brush->alpha = active_vertex_color[3];
+
+ WM_event_add_notifier(C, NC_BRUSH | NA_EDITED, brush);
+
return OPERATOR_FINISHED;
}