From 1d5489f427721a6895bd3438eb25e651476df2bd Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 31 Jan 2014 17:02:31 +0000
Subject: [PATCH] increase rand factor by factor 10

---
 Plugin/Triangulate.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Plugin/Triangulate.cpp b/Plugin/Triangulate.cpp
index 90db1352ab..290bc7a29f 100644
--- a/Plugin/Triangulate.cpp
+++ b/Plugin/Triangulate.cpp
@@ -124,7 +124,7 @@ PView *GMSH_TriangulatePlugin::execute(PView *v)
   // get lc
   SBoundingBox3d bbox;
   for(unsigned int i = 0; i < points.size(); i++) bbox += points[i]->point();
-  double lc = norm(SVector3(bbox.max(), bbox.min()));
+  double lc = 10 * norm(SVector3(bbox.max(), bbox.min()));
 
   // build a point record structure for the divide and conquer algorithm
   DocRecord doc(points.size());
-- 
GitLab