From 21c85ffb59476be643e7b1a01bda4664819acfac Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 29 May 2006 09:08:48 +0000 Subject: [PATCH] Reverted changes from revision 1.4, as they look like a temporary hack not intended to be merged. --- applications/osgviewer/osgviewer.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/applications/osgviewer/osgviewer.cpp b/applications/osgviewer/osgviewer.cpp index 71f5d41a4..133d1935a 100644 --- a/applications/osgviewer/osgviewer.cpp +++ b/applications/osgviewer/osgviewer.cpp @@ -14,8 +14,6 @@ #include #include -#include - int main( int argc, char **argv ) { @@ -104,16 +102,6 @@ int main( int argc, char **argv ) // create the windows and run the threads. viewer.realize(); - { - osgProducer::OsgSceneHandler *sh = viewer.getSceneHandlerList().front().get(); - osgUtil::SceneView *sv = sh->getSceneView(); - osg::CullStack::CullingMode cullingMode = sv->getCullingMode(); - cullingMode &= ~(osg::CullStack::SMALL_FEATURE_CULLING); - sv->setCullingMode( cullingMode ); - - - } - while( !viewer.done() ) { // wait for all cull and draw threads to complete.