diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2011-06-07 03:19:25 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2011-06-07 03:19:25 +0400 |
commit | 474d9c0274fa617ca137febb6c84892acb2cae6e (patch) | |
tree | ea1c519352ca3aa7a3ad08b19d3c3bc9ded12136 /source/blender | |
parent | b481524fde453884f8854a95bba1c1fdeb46959f (diff) |
A line of code -can- wreck your day. Should work now, :)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 83ba35a2e5c..cae5c14aa97 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -3706,7 +3706,7 @@ static void do_projectpaint_draw_f(ProjPaintState *ps, ProjPixel *projPixel, flo } else { if(use_color_correction){ - srgb_to_linearrgb_v3_v3(rgba, rgba); + srgb_to_linearrgb_v3_v3(rgba, ps->brush->rgb); } else { VECCOPY(rgba, ps->brush->rgb); |