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

Reply via email to