Skip to content
Snippets Groups Projects
Commit e92281e3 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add msg

parent c70d714a
No related branches found
No related tags found
No related merge requests found
// $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 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -53,10 +53,12 @@ void sortEdgesInLoop(int num, List_T *edges) ...@@ -53,10 +53,12 @@ void sortEdgesInLoop(int num, List_T *edges)
if(nbEdges == 1 && List_Nbr(c->Vertices) && c->Typ == MSH_SEGM_DISCRETE){ if(nbEdges == 1 && List_Nbr(c->Vertices) && c->Typ == MSH_SEGM_DISCRETE){
Vertex *first = *(Vertex**)List_Pointer(c->Vertices, 0); Vertex *first = *(Vertex**)List_Pointer(c->Vertices, 0);
Vertex *last = *(Vertex**)List_Pointer(c->Vertices, List_Nbr(c->Vertices) - 1); 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); List_Add(c->Vertices, &first);
} }
} }
}
else else
Msg(GERROR, "Unknown curve %d in line loop %d", j, num); Msg(GERROR, "Unknown curve %d in line loop %d", j, num);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment