Removed debug info

This commit is contained in:
Robert Osfield 2008-08-25 10:38:07 +00:00
parent ff35465a33
commit a2c1dc85dc

View File

@ -1714,20 +1714,15 @@ void StateSet::setEventCallback(Callback* ac)
_eventCallback = ac; _eventCallback = ac;
osg::notify(osg::NOTICE)<<"StateSet::setEventCallback("<<ac<<")"<<std::endl;
if (delta!=0 && _numChildrenRequiringEventTraversal==0) if (delta!=0 && _numChildrenRequiringEventTraversal==0)
{ {
for(ParentList::iterator itr=_parents.begin(); for(ParentList::iterator itr=_parents.begin();
itr!=_parents.end(); itr!=_parents.end();
++itr) ++itr)
{ {
osg::notify(osg::NOTICE)<<" updating parent("<<*itr<<")"<<std::endl;
osg::Drawable* drawable = dynamic_cast<osg::Drawable*>(*itr); osg::Drawable* drawable = dynamic_cast<osg::Drawable*>(*itr);
if (drawable) if (drawable)
{ {
osg::notify(osg::NOTICE)<<" parent is a drawable("<<*itr<<")"<<std::endl;
//drawable->setNumChildrenRequiringUpdateTraversal(drawable->getNumChildrenRequiringUpdateTraversal()+delta); //drawable->setNumChildrenRequiringUpdateTraversal(drawable->getNumChildrenRequiringUpdateTraversal()+delta);
} }
else else
@ -1735,7 +1730,6 @@ void StateSet::setEventCallback(Callback* ac)
osg::Node* node = dynamic_cast<osg::Node*>(*itr); osg::Node* node = dynamic_cast<osg::Node*>(*itr);
if (node) if (node)
{ {
osg::notify(osg::NOTICE)<<" parent is a node("<<*itr<<")"<<std::endl;
node->setNumChildrenRequiringEventTraversal(node->getNumChildrenRequiringEventTraversal()+delta); node->setNumChildrenRequiringEventTraversal(node->getNumChildrenRequiringEventTraversal()+delta);
} }
} }