From 633e0aa20bd6bde364de29dcd3e37f16a38a5ca9 Mon Sep 17 00:00:00 2001 From: gwaldron Date: Tue, 22 May 2018 12:02:11 -0400 Subject: [PATCH] Fix for compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF --- src/osgUtil/CullVisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgUtil/CullVisitor.cpp b/src/osgUtil/CullVisitor.cpp index ddc97864f..b5006b5d7 100644 --- a/src/osgUtil/CullVisitor.cpp +++ b/src/osgUtil/CullVisitor.cpp @@ -1650,7 +1650,7 @@ void CullVisitor::apply(osg::Camera& camera) } // assign the state graph to the RenderStage to ensure it remains in memory for the draw traversal. - rtts->setStateGraph(_rootStateGraph); + rtts->setStateGraph(_rootStateGraph.get()); // set up clear masks/values rtts->setClearDepth(camera.getClearDepth());