Fix #99172: Sculpt Paint Tool: Strength doesn't use unified paint settings.
Previously in the function brush_strenght , the SCULPT_TOOL_PAINT case didn't took into account the unified strength parameter. Pull Request: https://projects.blender.org/blender/blender/pulls/118109
This commit is contained in:
committed by
Raul Fernandez Hernandez
parent
1dd163c2f7
commit
d284941e89
@@ -190,7 +190,8 @@ static void do_paint_brush_task(Object *ob,
|
||||
* at this point to avoid washing out non-binary masking modes like cavity masking. */
|
||||
float automasking = auto_mask::factor_get(
|
||||
ss->cache->automasking.get(), ss, vd.vertex, &automask_data);
|
||||
mul_v4_v4fl(buffer_color, color_buffer->color[vd.i], brush->alpha * automasking);
|
||||
const float alpha = BKE_brush_alpha_get(ss->scene, brush);
|
||||
mul_v4_v4fl(buffer_color, color_buffer->color[vd.i], alpha * automasking);
|
||||
|
||||
float4 col;
|
||||
SCULPT_vertex_color_get(ss, vd.vertex, col);
|
||||
|
||||
Reference in New Issue
Block a user