Reverted changes from revision 1.4, as they look like a temporary hack not intended

to be merged.
This commit is contained in:
Robert Osfield
2006-05-29 09:08:48 +00:00
parent 8ca8adeafb
commit 21c85ffb59

View File

@@ -14,8 +14,6 @@
#include <osgProducer/Viewer>
#include <osg/CoordinateSystemNode>
#include <osgUtil/SceneView>
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.