From: dmv Date: Wed, 19 Nov 2008 12:16:42 +0000 (+0000) Subject: SIGSEGV after inter integration fix for 0020044: EDF 866 GEOM: Extrusion along a... X-Git-Tag: V4_1_4rc2~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=979d2fe102b7e59114c66c0df8e6b5d50f3a980c;p=modules%2Fgeom.git SIGSEGV after inter integration fix for 0020044: EDF 866 GEOM: Extrusion along a path : impossible to select a Wire --- diff --git a/src/GenerationGUI/GenerationGUI_PipeDlg.cxx b/src/GenerationGUI/GenerationGUI_PipeDlg.cxx index 4fd55bb16..205d5582a 100644 --- a/src/GenerationGUI/GenerationGUI_PipeDlg.cxx +++ b/src/GenerationGUI/GenerationGUI_PipeDlg.cxx @@ -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;