From: jfa Date: Mon, 24 Dec 2007 08:29:45 +0000 (+0000) Subject: Fix. bad integration. X-Git-Tag: V3_2_10~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=06250160251af1437e31f155f702e369bc5a0405;p=modules%2Fgeom.git Fix. bad integration. --- 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() ); }