[Bf-blender-cvs] [7bccdfd8d2b] blender-v2.93-release: Fix T88194: Animation player displays washed out colors
Richard Antalik
noreply at git.blender.org
Wed May 12 20:24:49 CEST 2021
Commit: 7bccdfd8d2b4d1efa11ccf32b7e6281eb09d4f2b
Author: Richard Antalik
Date: Tue May 11 12:47:25 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rB7bccdfd8d2b4d1efa11ccf32b7e6281eb09d4f2b
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
===================================================================
M source/blender/windowmanager/intern/wm_playanim.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list