diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-08-10 22:28:53 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-08-10 22:28:53 +0400 |
commit | 8e86c41c558459391da3b2da4e107ee79a9f4220 (patch) | |
tree | b266978d92f15f935097887e7b031d59bae8e6bb | |
parent | 29e15926b180b34a2ee0ab7e12edda67b1b0839c (diff) |
Fix T41385
Pretty old bug, reset flag to not use color transform by default.
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 47a772af9e4..19292867667 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) { |