HI Adrian, If you want to catch errors like this then simply use a Registry::ReadFileCallback which intercepts all read calls and logs errors in a local structure. You'll need to make this structure thread safe of course.
All calls whether they are from osgDB::readNodeFile or the DatabasePager will be directed through the Registry::ReadCallback so you'll be able to catch all file read ops. Robert. On Sat, Aug 16, 2008 at 2:55 PM, Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]> wrote: > Hi Robert, > > If in the database pager a file can not be loaded (file not found, file > format not supported, file is corrupt,...), we can not get any information > about this error in the application, and we also can not > decide what we should to. would it be possible to attach an callback object > to the database pager object, the get more detailed information when > something goes wrong in the running threads. > > adrian > > -- > ******************************************** > Adrian Egli > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org