Added some debugging

This commit is contained in:
Robert Osfield
2007-04-13 19:28:22 +00:00
parent b358a73d99
commit d786be8d4c

View File

@@ -400,4 +400,13 @@ osg::BoundingBox TerrainGeometry::computeBound() const
void TerrainGeometry::drawImplementation(osg::RenderInfo& renderInfo) const
{
osg::notify(osg::NOTICE)<<"TerrainGeometry::drawImplementation"<<std::endl;
if (_vertices.first.valid() && _vertices.first->getDataVariance()==DYNAMIC)
{
osg::notify(osg::NOTICE)<<" Vertices DYNAMIC"<<std::endl;
}
else
{
osg::notify(osg::NOTICE)<<" Vertices STATIC"<<std::endl;
}
}