diff --git a/Mesh/meshGEdge.cpp b/Mesh/meshGEdge.cpp
index 02712b5d3beb375e82a5b4d090d5cd0a4628411d..ab16b5589fd529a58c670759cdf04b5d00a3fd70 100644
--- a/Mesh/meshGEdge.cpp
+++ b/Mesh/meshGEdge.cpp
@@ -217,8 +217,7 @@ static void RecursiveIntegration(GEdge *ge, IntPoint * from, IntPoint * to,
     P.p = p1.p + val2;
     Points.push_back(P);
 
-    //List_Read(pPoints, List_Nbr(pPoints) - 1, &p1);
-    to->p=P.p+val3;
+    p1=Points.back();
     to->p = p1.p + val3;
     Points.push_back(*to);
   }