Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gwaldron/osgearth
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Jun 22, 2017
2 parents 31526f4 + 83fcc3f commit 8a372d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/osgEarthDrivers/engine_rex/TerrainCuller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,5 +233,8 @@ TerrainCuller::apply(osg::Node& node)
}
}

traverse(node);
// Handle any CullCallbacks and traverse.
osg::Callback* cullCallback = node.getCullCallback();
if (cullCallback) cullCallback->run(&node, this);
else traverse(node);
}

0 comments on commit 8a372d9

Please sign in to comment.