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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-09-24 17:48:37 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-09-24 17:48:37 +0400
commit2953b6ab5c757a3fa084b8e53894682e2c585856 (patch)
tree2cb3b56407204e3f977b0ac66435077fe92a61eb /source/blender/windowmanager/intern
parentc12d16cf4bf21964fb2e50e9334416d571b8ca3a (diff)
Fix #32644: ctrl+F11 internal animation player crash
Crash was caused by missed color management initialization -- it was happening too late. Move it to generic ImBuf init/exit functions, so now color management is properly initializing when animation player is launched.
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 534bfdc369e..9bb3b2a0e69 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -114,8 +114,6 @@
#include "BKE_sound.h"
#include "COM_compositor.h"
-#include "IMB_colormanagement.h"
-
static void wm_init_reports(bContext *C)
{
BKE_reports_init(CTX_wm_reports(C), RPT_STORE);
@@ -144,12 +142,6 @@ void WM_init(bContext *C, int argc, const char **argv)
ED_spacetypes_init(); /* editors/space_api/spacetype.c */
- /* initialize color management stuff
- * do this before ED_file_init because that function would load images,
- * so at least default byte color space should be already known
- */
- IMB_colormanagement_init();
-
ED_file_init(); /* for fsmenu */
ED_node_init_butfuncs();
@@ -374,8 +366,6 @@ void WM_exit_ext(bContext *C, const short do_python)
sound_exit();
- IMB_colormanagement_exit();
-
/* first wrap up running stuff, we assume only the active WM is running */
/* modal handlers are on window level freed, others too? */
/* note; same code copied in wm_files.c */