]> git.mxchange.org Git - simgear.git/commit
Return ReadResult::FILE_NOT_HANDLED for unknown extensions.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Sat, 17 Dec 2011 18:08:18 +0000 (19:08 +0100)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Sat, 17 Dec 2011 18:11:26 +0000 (19:11 +0100)
commita0290954d69e3ad105cb02e8378b25a4f552430a
treec22932e94fd86804d0699eda897af3cc0bf859aa
parent112eb0407927eb09b975c20f69a2d48c4cf552f0
Return ReadResult::FILE_NOT_HANDLED for unknown extensions.

This fixes a problem with fonts no longer being correctly
loaded as a side effect of the spt meta object loader.
The readObject slot is obviously being called for several
unrelated file extensions. To make sure the search continues,
osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED needs to
be returned in this case.
simgear/scene/tgdb/ReaderWriterSPT.cxx