From 72b86dee8262098d63d6a02d99ccd1d6b908c7dc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 21 May 2003 16:33:53 +0000 Subject: [PATCH] Removed the _state.reset() call as it was doing OpenGL calls outside of the thread with the graphics context. --- src/osgProducer/OsgCameraGroup.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osgProducer/OsgCameraGroup.cpp b/src/osgProducer/OsgCameraGroup.cpp index 599a02223..931703923 100644 --- a/src/osgProducer/OsgCameraGroup.cpp +++ b/src/osgProducer/OsgCameraGroup.cpp @@ -205,7 +205,6 @@ void OsgCameraGroup::setUpSceneViewsWithData() (*p)->setBackgroundColor( _background_color ); (*p)->setLODScale( _LODScale ); (*p)->setFusionDistance( _fusionDistanceMode, _fusionDistanceValue ); - (*p)->getState()->reset(); } }