Don't modify OSG Registry with file path

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.
This commit is contained in:
timoore
2007-12-04 22:38:40 +00:00
parent 60f0003436
commit 4efa087cd1
15 changed files with 147 additions and 77 deletions

View File

@@ -386,6 +386,12 @@
<File
RelativePath="..\..\simgear\misc\zfstream.hxx">
</File>
<File
RelativePath="..\..\simgear\misc\PathOptions.cxx">
</File>
<File
RelativePath="..\..\simgear\misc\PathOptions.hxx">
</File>
</Filter>
<Filter
Name="Lib_sgroute"