Removed unneccessary DrawArrays->setCount() that was causing a crash.
This commit is contained in:
parent
50e471d900
commit
ed9c28b4ec
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user