From d88674e2f5a2323ec14371b720ca2969bd4a3af4 Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Fri, 4 May 2012 08:56:31 +0000 Subject: [PATCH] Geo : fix Curve->degenerated flag initialization (it may be better to call End_Curve, I don't now) --- Geo/Geo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp index 82580b932f..33e42ed549 100644 --- a/Geo/Geo.cpp +++ b/Geo/Geo.cpp @@ -246,7 +246,6 @@ void End_Curve(Curve *c) } } } - c->degenerated = false; if(c->Typ == MSH_SEGM_CIRC || c->Typ == MSH_SEGM_CIRC_INV || @@ -535,6 +534,7 @@ Curve *Create_Curve(int Num, int Typ, int Order, List_T *Liste, pC->Control_Points = NULL; pC->beg = NULL; pC->end = NULL; + pC->degenerated = false; return pC; } -- GitLab