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);
"
This commit is contained in:
Robert Osfield
2010-07-31 10:18:41 +00:00
parent 6798fe4c25
commit c06f34fe32

View File

@@ -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 )