[Bf-blender-cvs] [bb58066] master: Fix T46441: texture paint soften brush at 0 strength works at full strength.
Brecht Van Lommel
noreply at git.blender.org
Sat Oct 10 23:21:34 CEST 2015
Commit: bb580664e6eae0714ec54f1cefeec5c5560150fc
Author: Brecht Van Lommel
Date: Sat Oct 10 23:18:20 2015 +0200
Branches: master
https://developer.blender.org/rBbb580664e6eae0714ec54f1cefeec5c5560150fc
Fix T46441: texture paint soften brush at 0 strength works at full strength.
===================================================================
M source/blender/editors/sculpt_paint/paint_image_proj.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index f1489f2..73a3cce 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);
}
More information about the Bf-blender-cvs
mailing list