- Ifc: fix another indexing error.

pull/16/merge
acgessler 2013-01-20 17:40:09 +01:00
parent 0e5db8a369
commit 470f4f3757
1 changed files with 1 additions and 1 deletions

View File

@ -1577,7 +1577,7 @@ void FindBorderContours(ContourVector::iterator current)
if (outer_border && start_on_outer_border) { if (outer_border && start_on_outer_border) {
const IfcVector2& proj_point = *cbegin; const IfcVector2& proj_point = *cbegin;
if (fabs((proj_point.x - last_proj_point.x) * (proj_point.y - last_proj_point.y)) < dot_point_epsilon) { if (fabs((proj_point.x - last_proj_point.x) * (proj_point.y - last_proj_point.y)) < dot_point_epsilon) {
skiplist[0] = true; skiplist[skiplist.size()-1] = true;
} }
} }
} }