From 06250160251af1437e31f155f702e369bc5a0405 Mon Sep 17 00:00:00 2001 From: jfa Date: Mon, 24 Dec 2007 08:29:45 +0000 Subject: [PATCH] Fix. bad integration. --- src/BasicGUI/BasicGUI_CurveDlg.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/BasicGUI/BasicGUI_CurveDlg.cxx b/src/BasicGUI/BasicGUI_CurveDlg.cxx index 828caae24..805a6274b 100644 --- a/src/BasicGUI/BasicGUI_CurveDlg.cxx +++ b/src/BasicGUI/BasicGUI_CurveDlg.cxx @@ -113,9 +113,8 @@ void BasicGUI_CurveDlg::Init() myPoints = new GEOM::ListOfGO(); myPoints->length( 0 ); - globalSelection(GEOM_POINT); - //globalSelection(); // close local contexts, if any - //localSelection(GEOM::GEOM_Object::_nil(), TopAbs_VERTEX); + globalSelection(); // close local contexts, if any + localSelection(GEOM::GEOM_Object::_nil(), TopAbs_VERTEX); /* signals and slots connections */ connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel())); @@ -379,9 +378,8 @@ void BasicGUI_CurveDlg::ActivateThisDialog() connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())); - globalSelection(GEOM_POINT); - //globalSelection(); // close local contexts, if any - //localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX ); + globalSelection(); // close local contexts, if any + localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX ); ConstructorsClicked( getConstructorId() ); } -- 2.39.2