Update daeRMaterials.cpp

This commit is contained in:
flashk 2018-10-12 13:25:13 -07:00 committed by Laurens Voerman
parent 5a3f2e287c
commit 452802b168

View File

@ -1136,7 +1136,7 @@ osg::Texture2D* daeReader::processTexture(
} }
else else
{ {
osg::ref_ptr<osg::Image> img = osgDB::readRefImageFile(parameters.filename); osg::ref_ptr<osg::Image> img = osgDB::readRefImageFile(parameters.filename, _pluginOptions.options.get());
if (!img.valid()) if (!img.valid())
{ {