Thanks Andrew, I've applied you suggested fix and checked it into SVN. In future could you please send the whole file that you have modified as this is the most reliable way to provide patches, and the most reliable way for me to QA and avoid typos etc.
Robert. On Wed, Jul 23, 2008 at 5:26 PM, Andrew Bettison <[EMAIL PROTECTED]> wrote: > Robert, > > Reading an SVG file relative to $OSG_FILE_PATH fails. Here is the problem. > Line 55 of src/osgPlugins/svg/ReaderWriterSVG.cpp is currently: > > RsvgHandle* handle = rsvg_handle_new_from_file (file.c_str(), NULL); > > The variable "file" should be changed to "fileName": > > RsvgHandle* handle = rsvg_handle_new_from_file (fileName.c_str(), NULL); > > -- Andrew Bettison > _______________________________________________ > 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
