Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF.
This commit is contained in:
parent
9f93b005cc
commit
c3bfa67576
@ -470,7 +470,7 @@ void daeReader::processSinglePPrimitive(osg::Geode* geode,
|
|||||||
domP_Array domPArray;
|
domP_Array domPArray;
|
||||||
domPArray.append(group->getP());
|
domPArray.append(group->getP());
|
||||||
std::vector<std::vector<GLuint> > indexLists;
|
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())
|
if (!indexLists.front().empty())
|
||||||
{
|
{
|
||||||
pDrawElements->asVector().swap(indexLists.front());
|
pDrawElements->asVector().swap(indexLists.front());
|
||||||
|
Loading…
Reference in New Issue
Block a user