diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-16 23:03:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-16 23:03:01 +0400 |
commit | 39113a35823754c225abeb485459ba487f1f07a1 (patch) | |
tree | 9fad3ba60cc1d179a3ca44d6cc2c411e1438b275 /source/gameengine/Converter/BlenderWorldInfo.h | |
parent | 7abb3217e30a1b50b74062a35c4ffbc11af1109a (diff) |
Fix #23857: game engine world colors were not color corrected yet,
giving inconsistent results with render/UI.
Diffstat (limited to 'source/gameengine/Converter/BlenderWorldInfo.h')
-rw-r--r-- | source/gameengine/Converter/BlenderWorldInfo.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/source/gameengine/Converter/BlenderWorldInfo.h b/source/gameengine/Converter/BlenderWorldInfo.h index b500c55a7f2..a430e18223e 100644 --- a/source/gameengine/Converter/BlenderWorldInfo.h +++ b/source/gameengine/Converter/BlenderWorldInfo.h @@ -35,23 +35,17 @@ class BlenderWorldInfo : public KX_WorldInfo { bool m_hasworld; - float m_backgroundred; - float m_backgroundgreen; - float m_backgroundblue; + float m_backgroundcolor[3]; bool m_hasmist; float m_miststart; float m_mistdistance; - float m_mistred; - float m_mistgreen; - float m_mistblue; + float m_mistcolor[3]; - float m_ambientred; - float m_ambientgreen; - float m_ambientblue; + float m_ambientcolor[3]; public: - BlenderWorldInfo(struct World* blenderworld); + BlenderWorldInfo(struct Scene *blenderscene, struct World* blenderworld); ~BlenderWorldInfo(); bool hasWorld(); |