HI JS, I applied your changes but then when I ran even something simple like osgviewer cow.osg I got an seg fault, with what looks like a recursive loop in the findFileInPath code. I haven't dived in to see why this might be occurring, but since your the author I though perhaps the code hasn't been tested well enough yet, perhaps there is a platform portability issue that you've introduced. Either way, as it the submission isn't in a shape to merge yet.
Cheers, Robert. On Fri, Sep 10, 2010 at 4:33 PM, Jean-Sébastien Guay <[email protected]> wrote: > Hi Robert, > > Instead of waiting for you to say if you agree with the idea, I decided to > submit now and see what you think directly. > > This is mainly (for now) to make > > osgvolume --images *.png > > work on Windows as it does on Linux / Unix-based OSes, but I can see many > other uses for this. > > I also made a function to return the current platform's path separator, and > use that in the new function as well as in the isFileNameNativeStyle() > function. Even though Windows supports having slashes in paths like Linux... > > While I was there I added a bit of documentation to some existing functions. > > Thanks, > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay [email protected] > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > > _______________________________________________ > 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
