Re: [osg-users] custom search paths...

2009-05-01 Thread neil.hughes
Hi Robert, Thanks for the reply, I'll look into this approach. Neil. Robert Osfield robert.osfi...@gmail.com wrote: Hi Neil, The ReaderWriter::Options structure has a data file path list built into it, this is checked before the main data file path list stored in the Registry is

Re: [osg-users] custom search paths...

2009-05-01 Thread Robert Osfield
Hi Neil, This type of customization is exactly what ReadFileCallback is for. I don't feel it's appropriate for search routines to do anything other than search, having them remap file names is inappropriate. Robert. On Fri, May 1, 2009 at 11:32 AM, neil.hug...@tesco.net wrote: Hi Robert,

Re: [osg-users] custom search paths...

2009-05-01 Thread neil.hughes
Hi Robert, I've had a look at this, and whilst it will address the specific scenario I described, I left out a little top spin to the scenario that has some bearing on the issue. Not only do I want to specify the directory where the search looks, but I also wish to amend the file extension.

Re: [osg-users] custom search paths...

2009-05-01 Thread neil.hughes
Hi Robert, I suspect we may be saying the same thing, and perhaps I haven't explained myself clearly. All I'm suggesting is a slight amendment to the search functions to delegate to an application supplied readfilecallback the role of searching when the default search has failed to locate the