Fixed the sumation of the the unique number of primtivesets and vertices in the scene Stats collect

This commit is contained in:
Robert Osfield
2009-01-29 14:41:18 +00:00
parent 4291a8e193
commit 66d77e3ebd

View File

@@ -657,6 +657,7 @@ void ViewerBase::renderingTraversals()
{
osgUtil::StatsVisitor statsVisitor;
sceneRoot->accept(statsVisitor);
statsVisitor.totalUpStats();
unsigned int unique_primitives = 0;
osgUtil::Statistics::PrimitiveCountMap::iterator pcmitr;