To set a path when loading model files, use an osg ReaderWriter::Options object. Put locks in ModelRegistry::readNode and ModelRegistry::readImage to avoid conflicts when files are loaded from both the pager and the main thread.
To set a path when loading model files, use an osg ReaderWriter::Options object. Put locks in ModelRegistry::readNode and ModelRegistry::readImage to avoid conflicts when files are loaded from both the pager and the main thread.