Bugfix: deactivate corners if bad intersection

This commit is contained in:
Simon Giraudot 2016-05-17 15:37:41 +02:00
parent a6b11751b1
commit ace0238a7c
1 changed files with 3 additions and 1 deletions

View File

@ -1119,6 +1119,7 @@ private:
#ifdef CGAL_PSP3_VERBOSE
std::cerr << "Warning: bad plane/plane intersection" << std::endl;
#endif
m_corners[i].active = false;
continue;
}
else
@ -1129,6 +1130,7 @@ private:
#ifdef CGAL_PSP3_VERBOSE
std::cerr << "Warning: bad plane/line intersection" << std::endl;
#endif
m_corners[i].active = false;
continue;
}
}