for ( it = modList.begin(); it != modList.end(); ++it )
{
if ( !isLibExists( *it ) )
+ {
+ qDebug( QString( "Library '%1' cannot be found" ).arg( *it ) );
continue;
+ }
QString iconName;
if ( iconMap.contains( *it ) )
// update existing data models
if ( updateModels )
{
+ const bool isAutoUpdate = objectBrowser() ? objectBrowser()->isAutoUpdate() : true;
+ if( objectBrowser() )
+ objectBrowser()->setAutoUpdate( false );
+
LightApp_Study* study = dynamic_cast<LightApp_Study*>(activeStudy());
if ( study ) {
CAM_Study::ModelList dm_list;
((LightApp_DataModel*)camDM)->update();
}
}
+
+ if( objectBrowser() )
+ objectBrowser()->setAutoUpdate( true );
}
if ( objectBrowser() )
{