BGE: World color management fix
authorThomas Szepe <HG1_public@gmx.net>
Mon, 23 Mar 2015 22:56:46 +0000 (23:56 +0100)
committerThomas Szepe <HG1_public@gmx.net>
Mon, 23 Mar 2015 22:56:46 +0000 (23:56 +0100)
commitce40fb9ab2616abefb79b12c3972e550b1df4660
treec6fc667d6728c4e409cea4d6ad4908d06d12284d
parent931c3e654404bbff05f1bcce9487fc6e91392300
BGE: World color management fix

This patch will fix the color management for the mist and global ambient color.
It will remove the old "Color Management" switch in the BGE "Render > Shading" panel and will use the "Display Device" setting in the "Scene > Color Management" panel instead.

Reviewers: moguri, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D154
release/scripts/startup/bl_ui/properties_game.py
source/blender/gpu/intern/gpu_material.c
source/blender/makesrna/intern/rna_color.c
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Converter/BlenderWorldInfo.cpp
source/gameengine/Converter/BlenderWorldInfo.h