Quitened down verbose debug messages

This commit is contained in:
Robert Osfield
2017-01-20 17:31:09 +00:00
parent e5b493289d
commit 33f7500a59
2 changed files with 3 additions and 7 deletions

View File

@@ -246,7 +246,7 @@ void GLBufferObject::compileBuffer()
void GLBufferObject::deleteGLObject()
{
OSG_INFO<<"GLBufferObject::deleteGLObject() "<<_glObjectID<<std::endl;
OSG_DEBUG<<"GLBufferObject::deleteGLObject() "<<_glObjectID<<std::endl;
if (_glObjectID!=0)
{
_extensions->glDeleteBuffers(1, &_glObjectID);

View File

@@ -44,7 +44,7 @@ void StateAttribute::removeParent(osg::StateSet* object)
void StateAttribute::setUpdateCallback(StateAttributeCallback* uc)
{
OSG_INFO<<"StateAttribute::Setting Update callbacks"<<std::endl;
OSG_DEBUG<<"StateAttribute::Setting Update callbacks"<<std::endl;
if (_updateCallback==uc) return;
@@ -56,14 +56,10 @@ void StateAttribute::setUpdateCallback(StateAttributeCallback* uc)
if (delta!=0)
{
OSG_DEBUG<<"Going to set StateAttribute parents"<<std::endl;
for(ParentList::iterator itr=_parents.begin();
itr!=_parents.end();
++itr)
{
OSG_DEBUG<<" Setting StateAttribute parent"<<std::endl;
(*itr)->setNumChildrenRequiringUpdateTraversal((*itr)->getNumChildrenRequiringUpdateTraversal()+delta);
}
}
@@ -71,7 +67,7 @@ void StateAttribute::setUpdateCallback(StateAttributeCallback* uc)
void StateAttribute::setEventCallback(StateAttributeCallback* ec)
{
OSG_INFO<<"StateAttribute::Setting Event callbacks"<<std::endl;
OSG_DEBUG<<"StateAttribute::Setting Event callbacks"<<std::endl;
if (_eventCallback==ec) return;