From f92891669af40f990f5fe33a44a80f41d89b015b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 7 Jan 2006 18:19:34 +0000 Subject: [PATCH] when we delete the curve num, also delete the curve -num (otherwise the control points cannot be removed, since there are still attached to the -num curve ) --- Geo/CAD.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Geo/CAD.cpp b/Geo/CAD.cpp index 0cce1e0e27..8af61d0227 100644 --- a/Geo/CAD.cpp +++ b/Geo/CAD.cpp @@ -1,4 +1,4 @@ -// $Id: CAD.cpp,v 1.88 2006-01-06 04:53:18 geuzaine Exp $ +// $Id: CAD.cpp,v 1.89 2006-01-07 18:19:34 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -493,6 +493,7 @@ void DeleteShape(int Type, int Num) case MSH_SEGM_NURBS: case MSH_SEGM_PARAMETRIC: DeleteCurve(Num); + DeleteCurve(-Num); break; case MSH_SURF_NURBS: case MSH_SURF_TRIC: -- GitLab