From ca19e38bdd05c0e99f8ae382d1c1ab7468741dfd Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Fri, 16 Jan 2015 11:46:31 +0000 Subject: [PATCH] fix for crash in FindInnerPoint --- libsrc/meshing/adfront3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/adfront3.cpp b/libsrc/meshing/adfront3.cpp index 1499b2a1..77a1665e 100644 --- a/libsrc/meshing/adfront3.cpp +++ b/libsrc/meshing/adfront3.cpp @@ -701,7 +701,7 @@ void AdFront3 :: GetGroup (int fi, for (PointIndex pi = points.Begin(); pi < points.End(); pi++) - if (points.Get(i).Valid()) + if (points[pi].Valid()) { grouppoints.Append (points[pi].P()); pindex.Append (pi);