]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
SIGSEGV after inter integration fix for 0020044: EDF 866 GEOM: Extrusion along a...
authordmv <dmv@opencascade.com>
Wed, 19 Nov 2008 12:16:42 +0000 (12:16 +0000)
committerdmv <dmv@opencascade.com>
Wed, 19 Nov 2008 12:16:42 +0000 (12:16 +0000)
src/GenerationGUI/GenerationGUI_PipeDlg.cxx

index 4fd55bb16e2bf180302f0127741f2e6c43ae5f4a..205d5582a975d58645cfec85c645a18c7647239b 100644 (file)
@@ -188,6 +188,7 @@ void GenerationGUI_PipeDlg::ConstructorsClicked( int constructorId )
 //=================================================================================
 void GenerationGUI_PipeDlg::SelectionTypeButtonClicked()
 {
+  globalSelection();
   if ( GroupPoints->CheckButton1->isChecked() ) {
     localSelection( GEOM::GEOM_Object::_nil(), TopAbs_EDGE );
   } else {
@@ -247,7 +248,7 @@ void GenerationGUI_PipeDlg::SelectionIntoArgument()
   
   // nbSel == 1
   Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_ptr aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
+  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
     
   if (!testResult)
     return;