Commit: d039cc69dc4eca67760be1ec9c8d4a1b35015246
Author: Brecht Van Lommel
Date: Sat Oct 10 23:18:20 2015 +0200
Branches: blender-v2.76-release
https://developer.blender.org/rBd039cc69dc4eca67760be1ec9c8d4a1b35015246
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);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs