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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user