|
|
@ -357,7 +357,9 @@ namespace Resource
|
|
|
|
loaded->accept(setFilterSettingsControllerVisitor);
|
|
|
|
loaded->accept(setFilterSettingsControllerVisitor);
|
|
|
|
|
|
|
|
|
|
|
|
// share state
|
|
|
|
// share state
|
|
|
|
|
|
|
|
mSharedStateMutex.lock();
|
|
|
|
osgDB::Registry::instance()->getOrCreateSharedStateManager()->share(loaded.get());
|
|
|
|
osgDB::Registry::instance()->getOrCreateSharedStateManager()->share(loaded.get());
|
|
|
|
|
|
|
|
mSharedStateMutex.unlock();
|
|
|
|
|
|
|
|
|
|
|
|
if (mIncrementalCompileOperation)
|
|
|
|
if (mIncrementalCompileOperation)
|
|
|
|
mIncrementalCompileOperation->add(loaded);
|
|
|
|
mIncrementalCompileOperation->add(loaded);
|
|
|
|