diff --git a/src/osgProducer/OsgCameraGroup.cpp b/src/osgProducer/OsgCameraGroup.cpp index f89f84f97..902c997cf 100644 --- a/src/osgProducer/OsgCameraGroup.cpp +++ b/src/osgProducer/OsgCameraGroup.cpp @@ -206,6 +206,9 @@ OsgCameraGroup::~OsgCameraGroup() } +static osg::ApplicationUsageProxy OsgCameraGroup_e2(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_CAMERA_THREADING ","Set the threading model using by osgProducer::Viewer/OsgCameraGroup based apps. can be SingleThreaded or ThreadPerCamera"); +static osg::ApplicationUsageProxy OsgCameraGroup_e3(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_SHARE_GRAPHICS_CONTEXTS ","Set the threading model using by osgProducer::Viewer/OsgCameraGroup based apps. can be ON or OFF"); + void OsgCameraGroup::_init() { const char* str = getenv("OSG_CAMERA_THREADING");