Permalink
Browse files

Removed unnceccesary setNumChildrenRequiringUpdateTraversal from Volu…

…meTile constructor.
  • Loading branch information...
1 parent 5350afd commit 3b168067b6fdfb220e69636cd07808285e2f8adf @osg-training-guest osg-training-guest committed Sep 20, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/osgVolume/VolumeTile.cpp
@@ -49,8 +49,6 @@ VolumeTile::VolumeTile():
_hasBeenTraversal(false)
{
setThreadSafeRefUnref(true);
-
- setNumChildrenRequiringUpdateTraversal(1);
}
VolumeTile::VolumeTile(const VolumeTile& volumeTile,const osg::CopyOp& copyop):
@@ -60,8 +58,6 @@ VolumeTile::VolumeTile(const VolumeTile& volumeTile,const osg::CopyOp& copyop):
_hasBeenTraversal(false),
_layer(volumeTile._layer)
{
- setNumChildrenRequiringUpdateTraversal(getNumChildrenRequiringUpdateTraversal()+1);
-
if (volumeTile.getVolumeTechnique())
{
setVolumeTechnique(osg::clone(volumeTile.getVolumeTechnique()));

0 comments on commit 3b16806

Please sign in to comment.