Reverted changes from revision 1.4, as they look like a temporary hack not intended
to be merged.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user