Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
1f85c08e
Commit
1f85c08e
authored
Feb 28, 2013
by
Sebastian Eichelbaum
Browse files
[FIX] unused variable
parent
8e206545
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/modules/voxelizer/WMVoxelizer.cpp
src/modules/voxelizer/WMVoxelizer.cpp
+1
-2
No files found.
src/modules/voxelizer/WMVoxelizer.cpp
View file @
1f85c08e
...
...
@@ -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
);
geode
->
addDrawable
(
geometry
);
osg
::
StateSet
*
state
=
geode
->
getOrCreateStateSet
();
// Without depth-sorting, this nearly always creates wrong results. Thus we disable it for now.
// Enable blending, select transparent bin.
// osg::StateSet* state = geode->getOrCreateStateSet();
// state->setMode( GL_BLEND, osg::StateAttribute::ON );
// state->setRenderingHint( osg::StateSet::TRANSPARENT_BIN );
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment