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());