Cleaned up debugging info.

This commit is contained in:
Robert Osfield
2006-12-03 12:52:38 +00:00
parent 56b7268c72
commit fd8d6b7f3b
2 changed files with 25 additions and 21 deletions

View File

@@ -94,9 +94,20 @@ void ElevationSlice::computeIntersections(osg::Node* scene)
scene->accept(_intersectionVisitor);
osgUtil::PlaneIntersector::Intersections& intersections = intersector->getIntersections();
osg::notify(osg::NOTICE)<<std::endl<<"&intersector->getIntersections()="<<&(intersector->getIntersections())<<std::endl<<std::endl;
if (!intersections.empty())
{
osg::notify(osg::NOTICE)<<"Got intersections."<<std::endl;
for(osgUtil::PlaneIntersector::Intersections::iterator itr = intersections.begin();
itr != intersections.end();
++itr)
{
osgUtil::PlaneIntersector::Intersection& intersection = *itr;
osg::notify(osg::NOTICE)<<" intersection - "<<intersection.polyline.size()<<std::endl;
}
}
else
{