Commit 1f85c08e authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] unused variable

parent 8e206545
...@@ -388,10 +388,9 @@ osg::ref_ptr< osg::Geode > WMVoxelizer::genDataSetGeode( boost::shared_ptr< WDat ...@@ -388,10 +388,9 @@ osg::ref_ptr< osg::Geode > WMVoxelizer::genDataSetGeode( boost::shared_ptr< WDat
osg::ref_ptr< osg::Geode > geode = osg::ref_ptr< osg::Geode >( new osg::Geode ); osg::ref_ptr< osg::Geode > geode = osg::ref_ptr< osg::Geode >( new osg::Geode );
geode->addDrawable( geometry ); geode->addDrawable( geometry );
osg::StateSet* state = geode->getOrCreateStateSet();
// Without depth-sorting, this nearly always creates wrong results. Thus we disable it for now. // Without depth-sorting, this nearly always creates wrong results. Thus we disable it for now.
// Enable blending, select transparent bin. // Enable blending, select transparent bin.
// osg::StateSet* state = geode->getOrCreateStateSet();
// state->setMode( GL_BLEND, osg::StateAttribute::ON ); // state->setMode( GL_BLEND, osg::StateAttribute::ON );
// state->setRenderingHint( osg::StateSet::TRANSPARENT_BIN ); // state->setRenderingHint( osg::StateSet::TRANSPARENT_BIN );
// //
......
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