Commit: 8e86c41c558459391da3b2da4e107ee79a9f4220
Author: Antony Riakiotakis
Date:   Sun Aug 10 20:28:53 2014 +0200
Branches: master
https://developer.blender.org/rB8e86c41c558459391da3b2da4e107ee79a9f4220

Fix T41385

Pretty old bug, reset flag to not use color transform by default.

===================================================================

M       source/blender/editors/sculpt_paint/paint_stroke.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c 
b/source/blender/editors/sculpt_paint/paint_stroke.c
index 47a772a..1929286 100644
--- a/source/blender/editors/sculpt_paint/paint_stroke.c
+++ b/source/blender/editors/sculpt_paint/paint_stroke.c
@@ -213,6 +213,9 @@ static bool paint_brush_update(bContext *C,
                copy_v2_v2(ups->mask_tex_mouse, mouse);
                stroke->cached_size_pressure = pressure;
 
+               ups->do_linear_conversion = false;
+               ups->colorspace = NULL;
+
                /* check here if color sampling the main brush should do color 
conversion. This is done here
                 * to avoid locking up to get the image buffer during sampling 
*/
                if (brush->mtex.tex && brush->mtex.tex->type == TEX_IMAGE && 
brush->mtex.tex->ima) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to