[Bf-blender-cvs] [bd84b2cbcce] master: Fix Sculpt Vertex Colors sample color changing brush alpha
Pablo Dobarro
noreply at git.blender.org
Thu Jul 9 17:44:54 CEST 2020
Commit: bd84b2cbcced79d021decfb9a8ac5862609a694f
Author: Pablo Dobarro
Date: Sat Jul 4 18:28:40 2020 +0200
Branches: master
https://developer.blender.org/rBbd84b2cbcced79d021decfb9a8ac5862609a694f
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
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list