Conversion of osg::notify to OSG_INFO etc.

This commit is contained in:
Robert Osfield
2010-05-28 15:51:00 +00:00
parent a79a8d30f9
commit 3b3e0d7cdd
22 changed files with 385 additions and 379 deletions

View File

@@ -30,7 +30,7 @@ Tessellator::Tessellator() :
_index=0;
#ifndef OSG_GLU_AVAILABLE
osg::notify(osg::NOTICE)<<"Warning: gluTesselation not supported."<<std::endl;
OSG_NOTICE<<"Warning: gluTesselation not supported."<<std::endl;
#endif
}
@@ -55,7 +55,7 @@ void Tessellator::beginTessellation()
gluTessBeginPolygon(_tobj,this);
#else
osg::notify(osg::NOTICE)<<"Warning: gluTesselation not supported."<<std::endl;
OSG_NOTICE<<"Warning: gluTesselation not supported."<<std::endl;
#endif
}
@@ -106,7 +106,7 @@ void Tessellator::endTessellation()
if (_errorCode!=0)
{
const GLubyte *estring = gluErrorString((GLenum)_errorCode);
osg::notify(osg::WARN)<<"Tessellation Error: "<<estring<< std::endl;
OSG_WARN<<"Tessellation Error: "<<estring<< std::endl;
}
}
#endif
@@ -445,7 +445,7 @@ void Tessellator::addContour(osg::PrimitiveSet* primitive, osg::Vec3Array* verti
break;
}
default:
osg::notify(osg::NOTICE)<<"Tessellator::addContour(primitive, vertices) : Primitive type "<<primitive->getType()<<" not handled"<<std::endl;
OSG_NOTICE<<"Tessellator::addContour(primitive, vertices) : Primitive type "<<primitive->getType()<<" not handled"<<std::endl;
break;
}
@@ -789,7 +789,7 @@ void Tessellator::collectTessellation(osg::Geometry &geom, unsigned int original
}
}
}
// osg::notify(osg::WARN)<<"Add: "<< iprim << std::endl;
// OSG_WARN<<"Add: "<< iprim << std::endl;
}
iprim++; // GWM Sep 2002 count which normal we should use
}