Show
Ignore:
Timestamp:
10/22/09 12:33:16 (4 years ago)
Author:
robert
Message:

From Cedric Pinson, "Here a patch to be able to clone stateattribute, in order to do that i
moved the StateAttribute::Callback structure to a file
StateAttributeCallback? with the same behavior as NodeCallback?.
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/StateAttribute.cpp

    r9354 r10671  
    4343 
    4444 
    45 void StateAttribute::setUpdateCallback(Callback* uc) 
     45void StateAttribute::setUpdateCallback(StateAttributeCallback* uc) 
    4646{ 
    4747    osg::notify(osg::INFO)<<"StateAttribute::Setting Update callbacks"<<std::endl; 
     
    7070} 
    7171 
    72 void StateAttribute::setEventCallback(Callback* ec) 
     72void StateAttribute::setEventCallback(StateAttributeCallback* ec) 
    7373{ 
    7474    osg::notify(osg::INFO)<<"StateAttribute::Setting Event callbacks"<<std::endl;