]> git.mxchange.org Git - simgear.git/commit
#348: Missing model/texture files not reported properly
authorThorstenB <brehmt@gmail.com>
Sat, 25 Jun 2011 22:36:19 +0000 (00:36 +0200)
committerThorstenB <brehmt@gmail.com>
Sat, 25 Jun 2011 22:36:19 +0000 (00:36 +0200)
commit8c8d9e5cc452f6edab03c3ffbe9ff1d52aa96103
tree2ec05f5fbc819bd1e45917bf330b0fdd28ce5305
parentd36170879c9394064b37fc9acb3d12d451f2be82
#348: Missing model/texture files not reported properly
Whenever resolving a (relative) path to an absolute path with
'findDataFile', check if the result is empty and report original
(relative) path as missing. Otherwise no or a meaningless message is
issued ("File '' not found.").
simgear/scene/material/Effect.cxx
simgear/scene/material/TextureBuilder.cxx
simgear/scene/model/SGReaderWriterXML.cxx