Merge pull request #1553 from konstin/master

fix cleaning of transparent meshes and close #1522
This commit is contained in:
vlj
2014-09-21 19:35:12 +02:00

View File

@@ -46,6 +46,8 @@ void STKAnimatedMesh::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 STKAnimatedMesh::setMesh(scene::IAnimatedMesh* mesh)