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