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:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-06-19 18:40:46 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-06-19 18:40:46 +0400
commitde7619991c73bdc93294c8ff892e9df92e0f681d (patch)
tree1fe02c7947e5f22b4dc5428b980ecba48b410c1d /source/gameengine/Converter/BL_SkinDeformer.cpp
parentd6c8d2f701b9c2adb0707e2c46e79c9d3d144d9d (diff)
BGE bug fix for new shape action: mesh with multiple materials did not deform properly
Diffstat (limited to 'source/gameengine/Converter/BL_SkinDeformer.cpp')
-rw-r--r--source/gameengine/Converter/BL_SkinDeformer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/gameengine/Converter/BL_SkinDeformer.cpp b/source/gameengine/Converter/BL_SkinDeformer.cpp
index 78fc73f21a1..1015221c392 100644
--- a/source/gameengine/Converter/BL_SkinDeformer.cpp
+++ b/source/gameengine/Converter/BL_SkinDeformer.cpp
@@ -108,9 +108,7 @@ bool BL_SkinDeformer::Apply(RAS_IPolyMaterial *mat)
MT_Point3 pt;
// float co[3];
- if (!Update())
- // no need to update the cache
- return false;
+ Update();
array = m_pMeshObject->GetVertexCache(mat);
mvarray = m_pMeshObject->GetMVertCache(mat);