Fix #33252: VSE preview displays wrong color space
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 21 Nov 2012 10:13:52 +0000 (10:13 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 21 Nov 2012 10:13:52 +0000 (10:13 +0000)
Early output was not setting image buffer float color space

source/blender/blenkernel/intern/seqeffects.c

index 469881020c187f73b8d5086049d1f35541a2a641..0b7fdaa7c1d9d1301daa3b1af9b68175b94e914f 100644 (file)
@@ -139,6 +139,9 @@ static ImBuf *prepare_effect_imbufs(SeqRenderData context, ImBuf *ibuf1, ImBuf *
                IMB_rect_from_float(ibuf3);
        }
 
+       if (out->rect_float)
+               IMB_colormanagement_assign_float_colorspace(out, context.scene->sequencer_colorspace_settings.name);
+
        return out;
 }