From John Ivar Haugland, "This is a fix to InputStream.cpp. (revision 11114) . I have attached the modified file.
The options where not passed on to the image reader plugins when reading the new osg2 format files, so I added the options to the osgDB.:readImageFile function call. "
This commit is contained in:
parent
6da42d9cd6
commit
ce19b37981
@ -583,7 +583,7 @@ osg::Image* InputStream::readImage()
|
||||
|
||||
if ( readFromExternal )
|
||||
{
|
||||
image = osgDB::readImageFile( name );
|
||||
image = osgDB::readImageFile( name, getOptions() );
|
||||
if ( !image && _forceReadingImage ) image = new osg::Image;
|
||||
}
|
||||
if ( image.valid() )
|
||||
|
Loading…
Reference in New Issue
Block a user