Merge pull request #183 from rickyviking/master
Additional info when fail to load images
This commit is contained in:
@@ -843,7 +843,7 @@ osg::ref_ptr<osg::Image> InputStream::readImage(bool readFromExternal)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!rr.success()) OSG_WARN << rr.statusMessage() << std::endl;
|
||||
if (!rr.success()) OSG_WARN << "InputStream::readImage(): " << rr.statusMessage() << ", filename: " << name << std::endl;
|
||||
}
|
||||
|
||||
if ( !image && _forceReadingImage ) image = new osg::Image;
|
||||
|
||||
Reference in New Issue
Block a user