From 4a82cdae1319d43b35b9de7de4820a24b9f46cbd Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 23 Aug 2013 17:14:30 +0000
Subject: [PATCH] missing initialization of reverseMesh

---
 Geo/GEdge.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Geo/GEdge.cpp b/Geo/GEdge.cpp
index 5ac4cd5134..61701f552a 100644
--- a/Geo/GEdge.cpp
+++ b/Geo/GEdge.cpp
@@ -93,6 +93,7 @@ void GEdge::resetMeshAttributes()
   meshAttributes.extrude = 0;
   meshAttributes.meshSize = MAX_LC;
   meshAttributes.minimumMeshSegments = 1;
+  meshAttributes.reverseMesh = false;
 }
 
 void GEdge::addFace(GFace *e)
@@ -488,14 +489,14 @@ void GEdge::replaceEndingPoints(GVertex *replOfv0, GVertex *replOfv1)
 }
 
 // regions that bound this entity or that this entity bounds.
-std::list<GRegion*> GEdge::regions() const 
+std::list<GRegion*> GEdge::regions() const
 {
-  std::list<GFace*> _faces = faces(); 
+  std::list<GFace*> _faces = faces();
   std::list<GFace*>::const_iterator it = _faces.begin();
   std::set<GRegion*> _r;
   for ( ; it != _faces.end() ; ++it){
     std::list<GRegion*> temp = (*it)->regions();
-    _r.insert (temp.begin(), temp.end());    
+    _r.insert (temp.begin(), temp.end());
   }
   std::list<GRegion*> ret;
   ret.insert (ret.begin(), _r.begin(), _r.end());
-- 
GitLab