On Fri, Mar 7, 2008 at 3:52 PM, Paul Martz <[EMAIL PROTECTED]> wrote:
> A client recently pointed out that if you call readNodeFile() and specify a
> file with an absolute (or even relative) path, but the file can't be found
> using that path, then the path is stripped and the osgDB looks for the file
> without the path. Is there a reason for this? I'd think OSG should just
> return an error if the file can't be found in the path specified.
>
> Just curious...

Its so you override an absolute path that is no longer valid for the
new computer.  This often happens when you have a model saved with
absolute path for a specific machine, then the data and its imagery is
moved to another machine with the imagery filenames now completely
wrong, here the DataFileSearchPath + stripped filenames comes to the
rescue.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to