Merging r49815 through r49833 from trunk into soc-2011-tomato
[blender.git] / source / blender / windowmanager / intern / wm_window.c
index c2aa99352e953220da33d1a63093fdea0d29b41c..1f1698e8e5aa061554eab158da16691b9e70f960 100644 (file)
@@ -49,6 +49,7 @@
 #include "BLF_translation.h"
 
 #include "BKE_blender.h"
+#include "BKE_colortools.h"
 #include "BKE_context.h"
 #include "BKE_library.h"
 #include "BKE_global.h"
@@ -243,7 +244,9 @@ wmWindow *wm_window_copy(bContext *C, wmWindow *winorig)
 
        win->drawmethod = -1;
        win->drawdata = NULL;
-       
+
+       BKE_color_managed_display_settings_copy(&win->display_settings, &winorig->display_settings);
+
        return win;
 }