Fix T46441: texture paint soften brush at 0 strength works at full strength.
This commit is contained in:
parent
307d4b3139
commit
bb580664e6
Notes:
blender-bot
2024-01-30 10:39:01 +01:00
Referenced by issue #46441, Texture painting: the brush soften at 0.0000001 or a 1 strength has the same result Referenced by issue #117597, Texturepaint broken Soften/Smear Brush in 3Dview for strength > 1 (Image Editor is fine)
|
@ -4324,7 +4324,7 @@ static void do_projectpaint_soften(ProjPaintState *ps, ProjPixel *projPixel, flo
|
|||
}
|
||||
else {
|
||||
premul_float_to_straight_uchar(rgba_ub, rgba);
|
||||
blend_color_interpolate_byte(rgba_ub, rgba_ub, projPixel->pixel.ch_pt, mask);
|
||||
blend_color_interpolate_byte(rgba_ub, projPixel->pixel.ch_pt, rgba_ub, mask);
|
||||
}
|
||||
BLI_linklist_prepend_arena(softenPixels, (void *)projPixel, softenArena);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue