if( !aStudyRoot )
return;
- if( SUIT_DataBrowser* anObjectBrowser = anApp->objectBrowser() )
- anObjectBrowser->setAutoOpenLevel( 3 );
-
// create root object if not exist
CAM_DataObject* aRootObj = root();
if( !aRootObj )
if( !anImageObj.IsNull() )
createObject( anImageRootObj, anImageObj );
}
+
+ if( SUIT_DataBrowser* anObjectBrowser = anApp->objectBrowser() )
+ {
+ anObjectBrowser->setAutoOpenLevel( 3 );
+ anObjectBrowser->openLevels();
+ }
}
HYDROGUI_DataObject* HYDROGUI_DataModel::getDataObject( const Handle(HYDROData_Object)& theModelObject )