diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-10-11 00:18:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-10-11 00:20:31 +0300 |
commit | bb580664e6eae0714ec54f1cefeec5c5560150fc (patch) | |
tree | 6e894141cd73b2629e7fbdbdd37413c8bafd8518 | |
parent | 307d4b3139c400c3131df7b59e4504769d627f7a (diff) |
Fix T46441: texture paint soften brush at 0 strength works at full strength.
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index f1489f2fd10..73a3cce50dc 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -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); } |