From Mathias Froehlich, "This change eliminate an orphan stats block that sticks somewhere in the
screen stats display."
This commit is contained in:
@@ -557,6 +557,9 @@ struct BlockDrawCallback : public virtual osg::Drawable::DrawCallback
|
||||
}
|
||||
}
|
||||
|
||||
osg::DrawArrays* drawArrays = static_cast<osg::DrawArrays*>(geom->getPrimitiveSet(0));
|
||||
drawArrays->setCount(vi);
|
||||
|
||||
drawable->drawImplementation(renderInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user