Bugfix : Replaced some new[]s with std::vectors ( merged from GitHub, thanks to Riku Palomäki ).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1215 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
79f255bc40
commit
f8deb8ff83
|
@ -202,7 +202,7 @@ float ImproveCacheLocalityProcess::ProcessMesh( aiMesh* pMesh, unsigned int mesh
|
|||
std::vector<bool> abEmitted(pMesh->mNumFaces,false);
|
||||
|
||||
// dead-end vertex index stack
|
||||
std::stack<unsigned int> sDeadEndVStack;
|
||||
std::stack<unsigned int, std::vector<unsigned int> > sDeadEndVStack;
|
||||
|
||||
// create a copy of the piNumTriPtr buffer
|
||||
unsigned int* const piNumTriPtr = adj.mLiveTriangles;
|
||||
|
|
Loading…
Reference in New Issue