Fix T41385

Pretty old bug, reset flag to not use color transform by default.
This commit is contained in:
Antony Riakiotakis 2014-08-10 20:28:53 +02:00
parent 29e15926b1
commit 8e86c41c55

@ -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) {