Show
Ignore:
Timestamp:
10/10/09 12:58:39 (5 years ago)
Author:
robert
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/StatsHandler.cpp

    r10601 r10634  
    557557            } 
    558558        } 
     559 
     560        osg::DrawArrays* drawArrays = static_cast<osg::DrawArrays*>(geom->getPrimitiveSet(0)); 
     561        drawArrays->setCount(vi); 
    559562 
    560563        drawable->drawImplementation(renderInfo);