Removed unneccessary DrawArrays->setCount() that was causing a crash.

This commit is contained in:
Robert Osfield 2017-08-18 16:26:12 +01:00
parent 50e471d900
commit ed9c28b4ec

View File

@ -767,9 +767,6 @@ struct BlockDrawCallback : public virtual osg::Drawable::DrawCallback
vertices->dirty();
osg::DrawArrays* drawArrays = static_cast<osg::DrawArrays*>(geom->getPrimitiveSet(0));
drawArrays->setCount(vi);
drawable->drawImplementation(renderInfo);
}