mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 12:50:33 +05:00
0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
update object browser as some object can be removed
This commit is contained in:
parent
b5cb4a64fb
commit
a16572377f
@ -3323,8 +3323,10 @@ bool SMESHGUI::activateModule( SUIT_Study* study )
|
|||||||
// 0020210. Make SMESH_Gen update meshes at switching GEOM->SMESH
|
// 0020210. Make SMESH_Gen update meshes at switching GEOM->SMESH
|
||||||
GetSMESHGen()->SetCurrentStudy(SALOMEDS::Study::_nil());
|
GetSMESHGen()->SetCurrentStudy(SALOMEDS::Study::_nil());
|
||||||
if ( SalomeApp_Study* s = dynamic_cast<SalomeApp_Study*>( study ))
|
if ( SalomeApp_Study* s = dynamic_cast<SalomeApp_Study*>( study ))
|
||||||
if ( _PTR(Study) aStudy = s->studyDS())
|
if ( _PTR(Study) aStudy = s->studyDS()) {
|
||||||
GetSMESHGen()->SetCurrentStudy( _CAST(Study,aStudy)->GetStudy() );
|
GetSMESHGen()->SetCurrentStudy( _CAST(Study,aStudy)->GetStudy() );
|
||||||
|
updateObjBrowser(); // objects can be removed
|
||||||
|
}
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user