From 470f4f3757a0037e1d2b7d6ad6a9c0d33334e82e Mon Sep 17 00:00:00 2001 From: acgessler Date: Sun, 20 Jan 2013 17:40:09 +0100 Subject: [PATCH] - Ifc: fix another indexing error. --- code/IFCGeometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/IFCGeometry.cpp b/code/IFCGeometry.cpp index 34a60d723..7908f9913 100644 --- a/code/IFCGeometry.cpp +++ b/code/IFCGeometry.cpp @@ -1577,7 +1577,7 @@ void FindBorderContours(ContourVector::iterator current) if (outer_border && start_on_outer_border) { const IfcVector2& proj_point = *cbegin; 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; } } }