From 890b584b8f13505bb08bef4ff89f7d282fc85913 Mon Sep 17 00:00:00 2001 From: timoore Date: Wed, 15 Jul 2009 23:16:13 +0000 Subject: [PATCH] Enable EffectCullVisitor --- src/Main/CameraGroup.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/CameraGroup.cxx b/src/Main/CameraGroup.cxx index 1feb0eef7..04ab9e135 100644 --- a/src/Main/CameraGroup.cxx +++ b/src/Main/CameraGroup.cxx @@ -23,6 +23,7 @@ #include "WindowSystemAdapter.hxx" #include #include +#include #include #include @@ -40,6 +41,7 @@ #include #include +#include namespace flightgear { @@ -100,14 +102,12 @@ void makeNewProjMat(Matrixd& oldProj, double znear, void installCullVisitor(Camera* camera) { -#if 0 // Not yet osgViewer::Renderer* renderer = static_cast(camera->getRenderer()); for (int i = 0; i < 2; ++i) { osgUtil::SceneView* sceneView = renderer->getSceneView(i); sceneView->setCullVisitor(new simgear::EffectCullVisitor); } -#endif } }