From 02837366df1bc312a4797843b708b14302975bea Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 3 Apr 2006 19:14:58 +0000 Subject: [PATCH] #if'd out use of barrier for stats collection. --- src/osgProducer/ViewerEventHandler.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/osgProducer/ViewerEventHandler.cpp b/src/osgProducer/ViewerEventHandler.cpp index 38edef525..ffee46b4c 100644 --- a/src/osgProducer/ViewerEventHandler.cpp +++ b/src/osgProducer/ViewerEventHandler.cpp @@ -35,7 +35,7 @@ public: _doBlock = block; - // osg::notify(osg::NOTICE)<<"setDoBlock("<getCameraConfig(); _cameraBarrierCallback = 0; +#if 0 if (cfg->getNumberOfCameras()>1) { // use a barrier to make that stats only runs once all the threads have done their drawing. @@ -905,6 +906,7 @@ ViewerEventHandler::ViewerEventHandler(OsgCameraGroup* cg): cfg->getCamera(i)->addPostDrawCallback(_cameraBarrierCallback); } } +#endif Producer::Camera *cam = cfg->getCamera(0);