From 452802b1682fd8e34fb46fb3381e4554c8159c60 Mon Sep 17 00:00:00 2001 From: flashk Date: Fri, 12 Oct 2018 13:25:13 -0700 Subject: [PATCH] Update daeRMaterials.cpp --- src/osgPlugins/dae/daeRMaterials.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/dae/daeRMaterials.cpp b/src/osgPlugins/dae/daeRMaterials.cpp index c2d2b3cde..5da9d608a 100644 --- a/src/osgPlugins/dae/daeRMaterials.cpp +++ b/src/osgPlugins/dae/daeRMaterials.cpp @@ -1136,7 +1136,7 @@ osg::Texture2D* daeReader::processTexture( } else { - osg::ref_ptr img = osgDB::readRefImageFile(parameters.filename); + osg::ref_ptr img = osgDB::readRefImageFile(parameters.filename, _pluginOptions.options.get()); if (!img.valid()) {