Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dfcbd9
)
Update of the object browser added for "Import".
author
mzn
<mzn@opencascade.com>
Tue, 7 Jun 2005 07:07:32 +0000
(07:07 +0000)
committer
mzn
<mzn@opencascade.com>
Tue, 7 Jun 2005 07:07:32 +0000
(07:07 +0000)
src/GEOMToolsGUI/GEOMToolsGUI.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMToolsGUI/GEOMToolsGUI.cxx
b/src/GEOMToolsGUI/GEOMToolsGUI.cxx
index 4463292d54eec263215c878b44ac29c74359d799..602010e3a5b2cc4addfd8230dc84e60edb83cdab 100644
(file)
--- a/
src/GEOMToolsGUI/GEOMToolsGUI.cxx
+++ b/
src/GEOMToolsGUI/GEOMToolsGUI.cxx
@@
-471,6
+471,15
@@
bool GEOMToolsGUI::Import()
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();
}
else {