mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 03:10:33 +05:00
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.
This commit is contained in:
parent
eeed6dd569
commit
5aee18a1d4
@ -353,10 +353,10 @@ bool SMESHGUI_GroupOnShapeOp::onApply()
|
|||||||
anEntryList.append( aSObject->GetID().c_str() );
|
anEntryList.append( aSObject->GetID().c_str() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
update( UF_ObjBrowser | UF_Model );
|
|
||||||
|
|
||||||
SMESHGUI::Modified();
|
SMESHGUI::Modified();
|
||||||
|
|
||||||
|
update( UF_ObjBrowser | UF_Model );
|
||||||
|
|
||||||
// Re-init controls to create the next group
|
// Re-init controls to create the next group
|
||||||
myElemGeoIDs.clear();
|
myElemGeoIDs.clear();
|
||||||
myNodeGeoIDs.clear();
|
myNodeGeoIDs.clear();
|
||||||
@ -367,8 +367,6 @@ bool SMESHGUI_GroupOnShapeOp::onApply()
|
|||||||
myDlg->myNodeGeomBtn->setChecked(false);
|
myDlg->myNodeGeomBtn->setChecked(false);
|
||||||
myDlg->updateButtons();
|
myDlg->updateButtons();
|
||||||
|
|
||||||
update( UF_ObjBrowser | UF_Model );
|
|
||||||
|
|
||||||
if( LightApp_Application* anApp =
|
if( LightApp_Application* anApp =
|
||||||
dynamic_cast<LightApp_Application*>( SUIT_Session::session()->activeApplication() ) )
|
dynamic_cast<LightApp_Application*>( SUIT_Session::session()->activeApplication() ) )
|
||||||
anApp->browseObjects( anEntryList, isApplyAndClose() );
|
anApp->browseObjects( anEntryList, isApplyAndClose() );
|
||||||
|
Loading…
Reference in New Issue
Block a user