From c06f34fe32c60e232ac66817b6f023f458cab15a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 31 Jul 2010 10:18:41 +0000 Subject: [PATCH] From Warren Macchi, "While tracing texture artifacts with the 2.9.8 dev release we uncovered what looks like a type in the "src\osgPlugins\dae\ daeRMaterials.cpp" file. Line 1094 reads: ^^^ parameters.filter_min = getFilterMode(sampler->getMagfilter()-> getValue(), false); whereas it should read ^^^ parameters.filter_mag = getFilterMode(sampler->getMagfilter()-> getValue(), false); " --- 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 00848e007..d616fb2c1 100644 --- a/src/osgPlugins/dae/daeRMaterials.cpp +++ b/src/osgPlugins/dae/daeRMaterials.cpp @@ -1091,7 +1091,7 @@ osg::Texture2D* daeReader::processTexture( } if (sampler->getMagfilter()) { - parameters.filter_min = getFilterMode(sampler->getMagfilter()->getValue(), false); + parameters.filter_mag = getFilterMode(sampler->getMagfilter()->getValue(), false); } if (sampler->getBorder_color() != NULL )