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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-09-16 23:03:01 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-09-16 23:03:01 +0400
commit39113a35823754c225abeb485459ba487f1f07a1 (patch)
tree9fad3ba60cc1d179a3ca44d6cc2c411e1438b275 /source/gameengine/Converter/BlenderWorldInfo.h
parent7abb3217e30a1b50b74062a35c4ffbc11af1109a (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.h14
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();