Commit 3d2902c4 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[CLEAN] removed useless code

parent 511b4ff1
...@@ -370,11 +370,8 @@ WMTeemGlyphs::GlyphGeneration::GlyphGeneration( boost::shared_ptr< WDataSetSpher ...@@ -370,11 +370,8 @@ WMTeemGlyphs::GlyphGeneration::GlyphGeneration( boost::shared_ptr< WDataSetSpher
m_glyphGeometry = new osg::Geometry(); m_glyphGeometry = new osg::Geometry();
m_glyphsGeode = osg::ref_ptr< osg::Geode >( new osg::Geode ); m_glyphsGeode = osg::ref_ptr< osg::Geode >( new osg::Geode );
m_glyphsGeode->setName( "glyphs" ); m_glyphsGeode->setName( "teem glyphs" );
osg::StateSet* state = m_glyphsGeode->getOrCreateStateSet(); osg::StateSet* state = m_glyphsGeode->getOrCreateStateSet();
osg::ref_ptr<osg::LightModel> lightModel = new osg::LightModel();
lightModel->setTwoSided( true );
state->setAttributeAndModes( lightModel.get(), osg::StateAttribute::ON );
state->setMode( GL_BLEND, osg::StateAttribute::ON ); state->setMode( GL_BLEND, osg::StateAttribute::ON );
size_t nbGlyphs = m_nA * m_nB; size_t nbGlyphs = m_nA * m_nB;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment