Applied filename fix suggested by Andrew Bettison.

This commit is contained in:
Robert Osfield 2008-07-23 19:06:14 +00:00
parent daa3d2381a
commit bfcc7473b8

View File

@ -52,7 +52,7 @@ class ReaderWriterSVG : public osgDB::ReaderWriter
if (fileName.empty()) return ReadResult::FILE_NOT_FOUND;
RsvgDimensionData dimensionData;
RsvgHandle* handle = rsvg_handle_new_from_file (file.c_str(), NULL);
RsvgHandle* handle = rsvg_handle_new_from_file (fileName.c_str(), NULL);
rsvg_handle_get_dimensions( handle, &dimensionData);
osg::Image *image;