From 76e8d51ec3278d8c996945d8aa043ca233ea870d Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 3 Nov 2010 17:03:31 +0000
Subject: [PATCH] backing out previous commit

---
 Mesh/meshRefine.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Mesh/meshRefine.cpp b/Mesh/meshRefine.cpp
index 4cefa59b8e..496834387a 100644
--- a/Mesh/meshRefine.cpp
+++ b/Mesh/meshRefine.cpp
@@ -377,10 +377,8 @@ void RefineMesh(GModel *m, bool linear, bool splitIntoQuads, bool splitIntoHexas
   // mesh
   for(GModel::eiter it = m->firstEdge(); it != m->lastEdge(); ++it)
     Subdivide(*it);
-  for(GModel::fiter it = m->firstFace(); it != m->lastFace(); ++it){
-    bool splitIntoQuadsForThisFace = true;
-    Subdivide(*it, splitIntoQuadsForThisFace, splitIntoHexas, faceVertices);
-  }
+  for(GModel::fiter it = m->firstFace(); it != m->lastFace(); ++it)
+    Subdivide(*it, splitIntoQuads, splitIntoHexas, faceVertices);
   for(GModel::riter it = m->firstRegion(); it != m->lastRegion(); ++it)
     Subdivide(*it, splitIntoHexas, faceVertices);
 
-- 
GitLab