From e92281e30fbe113cb993ea7d71843cd1d5905dac Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 29 Mar 2006 14:34:05 +0000
Subject: [PATCH] add msg

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

diff --git a/Geo/GeoUtils.cpp b/Geo/GeoUtils.cpp
index 002941e7d2..16b3c9d5b2 100644
--- a/Geo/GeoUtils.cpp
+++ b/Geo/GeoUtils.cpp
@@ -1,4 +1,4 @@
-// $Id: GeoUtils.cpp,v 1.9 2006-03-29 01:45:13 geuzaine Exp $
+// $Id: GeoUtils.cpp,v 1.10 2006-03-29 14:33:51 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -53,8 +53,10 @@ void sortEdgesInLoop(int num, List_T *edges)
       if(nbEdges == 1 && List_Nbr(c->Vertices) && c->Typ == MSH_SEGM_DISCRETE){
 	Vertex *first = *(Vertex**)List_Pointer(c->Vertices, 0);
 	Vertex *last = *(Vertex**)List_Pointer(c->Vertices, List_Nbr(c->Vertices) - 1);
-	if(first != last)
+	if(first != last){
+	  Msg(INFO, "Adding last vertex in closed discrete curve %d", c->Num);
 	  List_Add(c->Vertices, &first);
+	}
       }
     }
     else
-- 
GitLab