Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF.

This commit is contained in:
Robert Osfield 2012-04-19 13:18:58 +00:00
parent 9f93b005cc
commit c3bfa67576

View File

@ -470,7 +470,7 @@ void daeReader::processSinglePPrimitive(osg::Geode* geode,
domP_Array domPArray;
domPArray.append(group->getP());
std::vector<std::vector<GLuint> > 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());