From Mathias Froehlich, "This change eliminate an orphan stats block that sticks somewhere in the

screen stats display."
This commit is contained in:
Robert Osfield 2009-10-10 10:58:39 +00:00
parent 2c4b60cafc
commit 972e68113d

View File

@ -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);
}