Hi Robert, just checking on this.
Any chance to get it inside the 3.2.1 release?
cheers
Sebastian
Hi,
As already pointed out in another thread the OpenFlight plugin is not
calling readImageFile for referenced images which are not found by
osgDB::findDataFile.
While this okay in usual environments, it is bad if someone intents to
get information which OpenFlight file is missing this image.
In my case a pre-compiler for the database needs to report missing
images to a log file, while distinguishing between originally
referenced files and support files which are optional. So for
providing a context deferring this to the a potential ReadFileCallback
via readImageFile instead of simply dropping out, this fix will help.
Using FindFileCallback is not an option as it doesn't give any context
(image/node, from where ...)
In order to use the new behavior, one can set the readMissingImages to
the osgDB::Options. Original behavior is default.
cheers
Sebastian
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org