Show
Ignore:
Timestamp:
10/29/09 17:09:07 (5 years ago)
Author:
cedricpinson
Message:

From Cedric Pinson, Fix warning in osgAnimation, UpdateCallback?. Fix bug removing callback in Action. Fix warning Stats

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgAnimation/StatsHandler.cpp

    r10656 r10701  
    425425 
    426426             for (std::map<std::string, StatAction >::iterator it = _actions.begin(); it != _actions.end(); it++) { 
    427                  //if ((*it).second.update()) 
    428                  (*it).second._group->setNodeMask(~1); 
     427                 (*it).second._group->setNodeMask(~osg::Node::NodeMask(1)); 
    429428             } 
    430429 
     
    442441                    //_actions[name].touch(); 
    443442                } 
    444                 _actions[name]._group->setNodeMask(~0); 
     443                                _actions[name]._group->setNodeMask(~osg::Node::NodeMask(0x0)); 
    445444                size[name] = 0; 
    446445                pos.y() -= characterSize + graphSpacing;