From bd84b2cbcced79d021decfb9a8ac5862609a694f Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Sat, 4 Jul 2020 18:28:40 +0200 Subject: Fix Sculpt Vertex Colors sample color changing brush alpha It is not practical to change the alpha of the paint color with the color picker as with the current brush design alpha is the main strength control for the brush. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8208 --- source/blender/editors/sculpt_paint/sculpt.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 245014d5027..122430b0a51 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -8184,7 +8184,6 @@ static int sculpt_sample_color_invoke(bContext *C, copy_v3_v3(color_srgb, active_vertex_color); IMB_colormanagement_scene_linear_to_srgb_v3(color_srgb); BKE_brush_color_set(scene, brush, color_srgb); - BKE_brush_alpha_set(scene, brush, active_vertex_color[3]); WM_event_add_notifier(C, NC_BRUSH | NA_EDITED, brush); -- cgit v1.2.3