]> git.mxchange.org Git - simgear.git/commit
Don't modify OSG Registry with file path
authortimoore <timoore>
Tue, 4 Dec 2007 22:38:40 +0000 (22:38 +0000)
committertimoore <timoore>
Tue, 4 Dec 2007 22:38:40 +0000 (22:38 +0000)
commit4efa087cd1276f73cf5c96807a3ef9c8954a2266
treed3f3ecc8104c115e94c0a4507bac7881aa232ceb
parent60f00034369c5b30d736f2a5668251b1336429f2
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.
15 files changed:
projects/VC7.1/SimGear.vcproj
simgear/misc/Makefile.am
simgear/misc/PathOptions.cxx [new file with mode: 0644]
simgear/misc/PathOptions.hxx [new file with mode: 0644]
simgear/scene/material/mat.cxx
simgear/scene/model/ModelRegistry.cxx
simgear/scene/model/ModelRegistry.hxx
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx
simgear/scene/model/model.cxx
simgear/scene/model/model.hxx
simgear/scene/model/shadanim.cxx
simgear/scene/sky/cloud.cxx
simgear/scene/sky/moon.cxx
simgear/scene/sky/oursun.cxx