mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-25 14:35:36 +05:00
Update of the object browser added for "Import".
This commit is contained in:
parent
7dfcbd9821
commit
3ef9f0e473
@ -471,6 +471,15 @@ bool GEOMToolsGUI::Import()
|
|||||||
|
|
||||||
GEOM_Displayer( stud ).Display( anObj.in() );
|
GEOM_Displayer( stud ).Display( anObj.in() );
|
||||||
|
|
||||||
|
// update data model and object browser
|
||||||
|
SalomeApp_Application* anApp = dynamic_cast<SalomeApp_Application*>(app);
|
||||||
|
if (anApp) {
|
||||||
|
CAM_Module* module = anApp->module( "Geometry" );
|
||||||
|
SalomeApp_Module* appMod = dynamic_cast<SalomeApp_Module*>( module );
|
||||||
|
if ( appMod )
|
||||||
|
appMod->updateObjBrowser( true );
|
||||||
|
}
|
||||||
|
|
||||||
anOp->commit();
|
anOp->commit();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user