From 6f7fc45ab8575273d164368970201deb1d4b78bc Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 13 Aug 2004 20:59:44 +0000
Subject: [PATCH] Don't call Mesh_Quality() in GetStatistics()

---
 Fltk/GUI.cpp       | 5 ++++-
 Mesh/Generator.cpp | 3 +--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp
index 84d2c608fc..4eff361057 100644
--- a/Fltk/GUI.cpp
+++ b/Fltk/GUI.cpp
@@ -1,4 +1,4 @@
-// $Id: GUI.cpp,v 1.332 2004-08-09 10:29:07 geuzaine Exp $
+// $Id: GUI.cpp,v 1.333 2004-08-13 20:59:44 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -2849,6 +2849,9 @@ void GUI::set_statistics()
   static double s[50];
   static char label[50][256];
 
+  extern Mesh *THEM;
+
+  Mesh_Quality(THEM);
   GetStatistics(s);
 
   // geom
diff --git a/Mesh/Generator.cpp b/Mesh/Generator.cpp
index f53534ef55..f92199c5f9 100644
--- a/Mesh/Generator.cpp
+++ b/Mesh/Generator.cpp
@@ -1,4 +1,4 @@
-// $Id: Generator.cpp,v 1.59 2004-06-30 17:49:51 geuzaine Exp $
+// $Id: Generator.cpp,v 1.60 2004-08-13 20:59:44 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -109,7 +109,6 @@ void GetStatistics(double stat[50])
   Tree_Action(THEM->Vertices, countOrder2);
   stat[16] = nbOrder2;
 
-  Mesh_Quality(THEM);
   stat[17] = THEM->quality_gamma[0];
   stat[18] = THEM->quality_gamma[1];
   stat[19] = THEM->quality_gamma[2];
-- 
GitLab