Update daeRMaterials.cpp
This commit is contained in:
parent
5a3f2e287c
commit
452802b168
@ -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())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user