- fixed compilation error on GCC in IFC loader. Thanks to larsp for the report!

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1343 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/13/head^2
ulfjorensen 2012-12-04 07:42:15 +00:00
parent e88f6ef227
commit ac7d7d20c9
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ void TempMesh::RemoveDegenerates()
bool drop = false;
size_t inor = 0;
std::vector<IfcVector3>::const_iterator vit = verts.begin();
for (std::vector<unsigned int>::const_iterator it = vertcnt.begin(); it != vertcnt.end(); ++inor) {
std::vector<IfcVector3>::iterator vit = verts.begin();
for (std::vector<unsigned int>::iterator it = vertcnt.begin(); it != vertcnt.end(); ++inor) {
const unsigned int pcount = *it;
if (normals[inor].SquareLength() < 1e-5f) {