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-22 00:44:41 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-09-22 00:44:41 +0400
commitf61ef65adb3949742d291dc38ad31266e6877384 (patch)
treebb1723987dcd0c3a282676d1950c96600c143a82 /source/blender/windowmanager
parenta1123252a3ad70345e1a85c220faa84526a063d2 (diff)
Color Management: different fixes for byte buffers
- Color space of byte buffer for generated images haven't been updated properly on change - Byte buffers weren't handling data color spaces on display transform properly
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index ab9c2ac1003..db4f5003b0d 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -144,15 +144,15 @@ void WM_init(bContext *C, int argc, const char **argv)
ED_spacetypes_init(); /* editors/space_api/spacetype.c */
+ /* initialize color management stuff */
+ IMB_colormanagement_init();
+
ED_file_init(); /* for fsmenu */
ED_node_init_butfuncs();
BLF_init(11, U.dpi); /* Please update source/gamengine/GamePlayer/GPG_ghost.cpp if you change this */
BLF_lang_init();
- /* initialize color management stuff */
- IMB_colormanagement_init();
-
/* get the default database, plus a wm */
WM_homefile_read(C, NULL, G.factory_startup);