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 04:39:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-11 04:39:08 +0400
commitdfc55421dfed71b3b9cc074d1d3919bd02168ad7 (patch)
tree169e16da6e3589901236858cbc5586a1c5098745 /source/gameengine/Ketsji/KX_PolygonMaterial.cpp
parentf8af8100d28910202f0b34f5aafea30321d59842 (diff)
game engine material conversion: don't use the material to convert vertex colors, then extract back out (pre face).
Diffstat (limited to 'source/gameengine/Ketsji/KX_PolygonMaterial.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_PolygonMaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_PolygonMaterial.cpp b/source/gameengine/Ketsji/KX_PolygonMaterial.cpp
index 36c94dc997b..f89b918f31b 100644
--- a/source/gameengine/Ketsji/KX_PolygonMaterial.cpp
+++ b/source/gameengine/Ketsji/KX_PolygonMaterial.cpp
@@ -109,7 +109,7 @@ void KX_PolygonMaterial::Initialize(
m_mcol = *mcol;
}
else {
- memset(&m_mcol, 0, sizeof(m_mcol));
+ m_mcol = 0;
}
m_material = ma;