fix cleaning of transparent meshes and close #1522
This commit is contained in:
parent
0dc3854df1
commit
a9bc44f7eb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user