From 979d2fe102b7e59114c66c0df8e6b5d50f3a980c Mon Sep 17 00:00:00 2001 From: dmv Date: Wed, 19 Nov 2008 12:16:42 +0000 Subject: [PATCH] SIGSEGV after inter integration fix for 0020044: EDF 866 GEOM: Extrusion along a path : impossible to select a Wire --- src/GenerationGUI/GenerationGUI_PipeDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;