From 2aa09639a93866c996e501fe26a5beb466dce5c8 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 12 Mar 2017 19:49:15 +0100 Subject: [PATCH] Re-enable terrain intersections --- components/terrain/quadtreeworld.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/terrain/quadtreeworld.cpp b/components/terrain/quadtreeworld.cpp index 0893b8f18..236c5310f 100644 --- a/components/terrain/quadtreeworld.cpp +++ b/components/terrain/quadtreeworld.cpp @@ -332,7 +332,7 @@ void loadRenderingNode(ViewData::Entry& entry, ViewData* vd, ChunkManager* chunk void QuadTreeWorld::accept(osg::NodeVisitor &nv) { - if (nv.getVisitorType() != osg::NodeVisitor::CULL_VISITOR)// && nv.getVisitorType() != osg::NodeVisitor::INTERSECTION_VISITOR) + if (nv.getVisitorType() != osg::NodeVisitor::CULL_VISITOR && nv.getVisitorType() != osg::NodeVisitor::INTERSECTION_VISITOR) return; ViewData* vd = mRootNode->getView(nv);