Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/blenkernel/intern/sequencer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 249555578f0..cc4b8917a32 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -2025,7 +2025,10 @@ static ImBuf * seq_render_scene_strip_impl(
}
/* float buffers in the sequencer are not linear */
- ibuf->profile= IB_PROFILE_LINEAR_RGB;
+ if(scene->r.color_mgt_flag & R_COLOR_MANAGEMENT)
+ ibuf->profile= IB_PROFILE_LINEAR_RGB;
+ else
+ ibuf->profile= IB_PROFILE_NONE;
IMB_convert_profile(ibuf, IB_PROFILE_SRGB);
}
else if (rres.rect32) {