From 2f71c55da942028202c8c6f463112d2bc1a28c05 Mon Sep 17 00:00:00 2001 From: Laurens Voerman Date: Mon, 13 May 2019 17:02:53 +0200 Subject: [PATCH] fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf --- src/osgSim/LightPointNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgSim/LightPointNode.cpp b/src/osgSim/LightPointNode.cpp index 4bfe9a20f..89cb42104 100644 --- a/src/osgSim/LightPointNode.cpp +++ b/src/osgSim/LightPointNode.cpp @@ -205,7 +205,7 @@ void LightPointNode::traverse(osg::NodeVisitor& nv) // as this will be our special light point drawable. osgUtil::StateGraph::LeafList::iterator litr; for(litr = rg->_leaves.begin(); - litr != rg->_leaves.end() && (*litr)->_drawable.get()!=drawable; + litr != rg->_leaves.end() && (*litr)->getDrawable()!=drawable; ++litr) {}