A line of code -can- wreck your day. Should work now, :)

This commit is contained in:
Antony Riakiotakis
2011-06-06 23:19:25 +00:00
parent b481524fde
commit 474d9c0274

View File

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