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

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 )
parent 4038faf6
No related branches found
No related tags found
No related merge requests found
// $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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment