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/imbuf/intern/module.c
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/imbuf/intern/module.c')
-rw-r--r--source/blender/imbuf/intern/module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/module.c b/source/blender/imbuf/intern/module.c
index 55a29333620..9141dad6f9c 100644
--- a/source/blender/imbuf/intern/module.c
+++ b/source/blender/imbuf/intern/module.c
@@ -28,16 +28,19 @@
#include <stddef.h>
#include "IMB_imbuf.h"
#include "IMB_filetype.h"
+#include "IMB_colormanagement_intern.h"
void IMB_init(void)
{
imb_filetypes_init();
imb_tile_cache_init();
+ colormanagement_init();
}
void IMB_exit(void)
{
imb_tile_cache_exit();
imb_filetypes_exit();
+ colormanagement_exit();
}