Fixed Statistics::reset() method to include a reset of all member variables
This commit is contained in:
@@ -74,6 +74,10 @@ class Statistics : public osg::PrimitiveFunctor
|
||||
_primitiveCount.clear();
|
||||
|
||||
_currentPrimitiveFunctorMode=0;
|
||||
|
||||
_primitives_count.clear();
|
||||
_total_primitives_count=0;
|
||||
_number_of_vertexes=0;
|
||||
}
|
||||
|
||||
void setType(statsType t) {stattype=t;}
|
||||
|
||||
Reference in New Issue
Block a user