- 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-9d2fd5bffc1fpull/13/head^2
parent
e88f6ef227
commit
ac7d7d20c9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue