[osg-submissions] OpenVRML fix

Jean-Sébastien Guay jean-sebastien.guay at polymtl.ca
Thu Aug 16 07:09:46 PDT 2007


Hello Robert,

>> I am attaching a little hack from Jean-Sebastien Guay which allows
>> absolute paths to work on Windows.
>
> Thanks Jan, changes now merged and submitted to SVN.

After a bit more testing, it was still not 100% robust, so this fix  
will bring the change in line with what is done on other OSes (Linux)  
and works in all tested cases.

For reference, this was tested with:

osgviewer <file>.wrl                (file in current directory)
osgviewer <dir>\<file>.wrl          (file in child directory, relative)
osgviewer .\<dir>\<file>.wrl        (file in child directory, specify current)
osgviewer <drive>:\<dir>\<file>.wrl (absolute path)

and works with all. Sorry for the noise on this.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     jean-sebastien.guay at polymtl.ca
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReaderWriterVRML2.zip
Type: application/x-zip-compressed
Size: 4843 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070816/02cf6efe/attachment.bin 


More information about the osg-submissions mailing list