Thanks Jannik, your fix is correct now merged with master, OSG-3.2 and 3.4 branches,
On 10 March 2016 at 19:59, Jannik Heller <[email protected]> wrote: > Hi, > > I think that this piece of code in StateSet::setTextureAttributeAndModes > is a copy&paste mistake: > > OSG_NOTICE<<"Warning: non texture attribute > '"<<attribute->className()<<"' passed to > setTextureAttributeAndModes(unit,attr,value), "<<std::endl; > OSG_NOTICE<<" assuming > setAttributeAndModes(attr,value) instead."<<std::endl; > OSG_NOTICE<<" please change calling code to use > appropriate call."<<std::endl; > setAttribute(attribute,value); > > As per the warning message it should be calling > setAttributeAndModes(attribute,value); . > > Thank you! > > Cheers, > Jannik > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66517#66517 > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
