From Vincent Bourdier, removed line with setWidth(2.0) as this code prevents

user settings of line with.
This commit is contained in:
Robert Osfield
2008-07-16 16:04:27 +00:00
parent c33f7e5720
commit c3a4237e3a

View File

@@ -123,7 +123,6 @@ namespace
cf->setMode(osg::CullFace::FRONT);
ss->setAttributeAndModes(cf.get(), osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON);
_wf_lw->setWidth(2);
ss->setAttributeAndModes(_wf_lw.get(), osg::StateAttribute::OVERRIDE | osg::StateAttribute::ON);
_wf_mat->setColorMode(osg::Material::OFF);
@@ -239,7 +238,6 @@ namespace
cf->setMode(osg::CullFace::FRONT);
ss->setAttributeAndModes(cf.get(), osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON);
_wf_lw->setWidth(2);
ss->setAttributeAndModes(_wf_lw.get(), osg::StateAttribute::OVERRIDE | osg::StateAttribute::ON);
_wf_mat->setColorMode(osg::Material::OFF);