]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix. bad integration.
authorjfa <jfa@opencascade.com>
Mon, 24 Dec 2007 08:29:45 +0000 (08:29 +0000)
committerjfa <jfa@opencascade.com>
Mon, 24 Dec 2007 08:29:45 +0000 (08:29 +0000)
src/BasicGUI/BasicGUI_CurveDlg.cxx

index 828caae24a9a08d9133c78857bec18f01a01e029..805a6274b6b0e43dfe9486cddc5ec8372c80c6eb 100644 (file)
@@ -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() );
 }