From: vsr Date: Thu, 30 Aug 2012 13:57:33 +0000 (+0000) Subject: 0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement X-Git-Tag: V6_6_0a1~162 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5aee18a1d4c8b81b38c613cc8d1f9b06c9014841;p=modules%2Fsmesh.git 0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement (Fix problem with Object browser updating) - Revert fix made for issue "0021515: EDF 2169 SMESH: groups not in OB" - it is no more required since actual problem is solved by fix for issue 0020749. --- diff --git a/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx index 2bfdd1bc9..e62b015c2 100644 --- a/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx @@ -353,10 +353,10 @@ bool SMESHGUI_GroupOnShapeOp::onApply() anEntryList.append( aSObject->GetID().c_str() ); } } - update( UF_ObjBrowser | UF_Model ); - SMESHGUI::Modified(); + update( UF_ObjBrowser | UF_Model ); + // Re-init controls to create the next group myElemGeoIDs.clear(); myNodeGeoIDs.clear(); @@ -367,8 +367,6 @@ bool SMESHGUI_GroupOnShapeOp::onApply() myDlg->myNodeGeomBtn->setChecked(false); myDlg->updateButtons(); - update( UF_ObjBrowser | UF_Model ); - if( LightApp_Application* anApp = dynamic_cast( SUIT_Session::session()->activeApplication() ) ) anApp->browseObjects( anEntryList, isApplyAndClose() );