diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-11 04:39:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-11 04:39:08 +0400 |
commit | dfc55421dfed71b3b9cc074d1d3919bd02168ad7 (patch) | |
tree | 169e16da6e3589901236858cbc5586a1c5098745 /source/gameengine/Ketsji/KX_PolygonMaterial.cpp | |
parent | f8af8100d28910202f0b34f5aafea30321d59842 (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.cpp | 2 |
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; |