From 2584d43393f2dd82b215913031cfbcb09d4fcb37 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 1 Nov 2005 19:31:30 +0000 Subject: [PATCH] Removed the double call to the camera post draw callback. --- src/osgUtil/RenderStage.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/osgUtil/RenderStage.cpp b/src/osgUtil/RenderStage.cpp index 5142d8e53..29eaacaec 100644 --- a/src/osgUtil/RenderStage.cpp +++ b/src/osgUtil/RenderStage.cpp @@ -543,12 +543,6 @@ void RenderStage::drawInner(osg::State& state,RenderLeaf*& previous, bool& doCop } - if (_camera && _camera->getPostDrawCallback()) - { - // if we have a camera with a post draw callback invoke it. - (*(_camera->getPostDrawCallback()))(*_camera); - } - if (fbo_supported) { // switch of the frame buffer object