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:
authorRichard Antalik <richardantalik@gmail.com>2021-05-11 13:47:25 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-05-12 21:18:45 +0300
commit7bccdfd8d2b4d1efa11ccf32b7e6281eb09d4f2b (patch)
tree52327c3543ed3eda7a028114974fd7aaae3d6613 /source/blender/windowmanager
parent41c0c79e31284637fb603d31c5c3cfda22f54614 (diff)
Fix T88194: Animation player displays washed out colors
Byte images used `ibuf->float_colorspace` as source colorspace. This was oversight - `ibuf->rect_colorspace` should be used as source colorspace. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11223
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_playanim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c
index 41648cbc359..de563cd309d 100644
--- a/source/blender/windowmanager/intern/wm_playanim.c
+++ b/source/blender/windowmanager/intern/wm_playanim.c
@@ -431,7 +431,7 @@ static void *ocio_transform_ibuf(PlayState *ps,
display_buffer = ibuf->rect;
*r_glsl_used = IMB_colormanagement_setup_glsl_draw_from_space(&ps->view_settings,
&ps->display_settings,
- ibuf->float_colorspace,
+ ibuf->rect_colorspace,
ibuf->dither,
false,
false);