From 2d2cc93574b0f759c1c3528b11ed0fdcd43d90f3 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 28 Feb 2017 10:48:16 +0000
Subject: [PATCH] missing reset of edgeLoops

---
 Geo/gmshFace.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Geo/gmshFace.cpp b/Geo/gmshFace.cpp
index dec8d8a89d..7b7944dd71 100644
--- a/Geo/gmshFace.cpp
+++ b/Geo/gmshFace.cpp
@@ -32,6 +32,8 @@ void gmshFace::resetNativePtr(Surface *face)
   s = face;
   l_edges.clear();
   l_dirs.clear();
+  edgeLoops.clear();
+
   std::vector<GEdge*> eds;
   std::vector<int> nums;
   for(int i = 0; i < List_Nbr(s->Generatrices); i++){
-- 
GitLab