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:
authorCampbell Barton <ideasman42@gmail.com>2012-11-11 14:03:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-11 14:03:25 +0400
commit47068e88fba5b8a79ae8a9a09dadac684869faa6 (patch)
tree3b805ab87ac51af42a02d02cd6fcbe918ce9c740 /source/gameengine/Ketsji/KX_GameObject.cpp
parentf5df1601d6c6d03377f30f3787b964cab71ec3e0 (diff)
BGE: fix for 2 uses of uninitialized memory - property-sensor and object-color for materials.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_GameObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp
index a669f4346ea..4f3d020a3d9 100644
--- a/source/gameengine/Ketsji/KX_GameObject.cpp
+++ b/source/gameengine/Ketsji/KX_GameObject.cpp
@@ -99,6 +99,7 @@ KX_GameObject::KX_GameObject(
m_bSuspendDynamics(false),
m_bUseObjectColor(false),
m_bIsNegativeScaling(false),
+ m_objectColor(1.0, 1.0, 1.0, 1.0),
m_bVisible(true),
m_bCulled(true),
m_bOccluder(false),