From c3bfa675760b9f0d763ce7372913d89224164d5b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 19 Apr 2012 13:18:58 +0000 Subject: [PATCH] Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF. --- src/osgPlugins/dae/daeRGeometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/dae/daeRGeometry.cpp b/src/osgPlugins/dae/daeRGeometry.cpp index 1fdc82e93..f4d4f7cb6 100644 --- a/src/osgPlugins/dae/daeRGeometry.cpp +++ b/src/osgPlugins/dae/daeRGeometry.cpp @@ -470,7 +470,7 @@ void daeReader::processSinglePPrimitive(osg::Geode* geode, domP_Array domPArray; domPArray.append(group->getP()); std::vector > indexLists; - resolveMeshArrays(domPArray, group->getInput_array(), pDomMesh, geometry, sources, indexLists); + resolveMeshArrays(domPArray, group->getInput_array(), pDomMesh, geometry.get(), sources, indexLists); if (!indexLists.front().empty()) { pDrawElements->asVector().swap(indexLists.front());