Clean transparentmesh for non animated meshes

This commit is contained in:
Vincent Lejeune
2014-09-21 19:23:31 +02:00
parent bc9345a227
commit 4672492269

View File

@@ -63,6 +63,8 @@ void STKMeshSceneNode::cleanGLMeshes()
GLmeshes.clear();
for (unsigned i = 0; i < MAT_COUNT; i++)
MeshSolidMaterial[i].clearWithoutDeleting();
for (unsigned i = 0; i < TM_COUNT; i++)
TransparentMesh[i].clearWithoutDeleting();
}
void STKMeshSceneNode::setMesh(irr::scene::IMesh* mesh)