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/include/osgAnimation/UpdateCallback

    r10593 r10671  
    3737        virtual void updateLink() = 0; 
    3838        virtual const std::string& getName() const = 0; 
    39  
    40         virtual ~AnimationUpdateCallbackBase() {} 
    4139    }; 
    4240 
     
    131129 
    132130 
    133     class OSGANIMATION_EXPORT UpdateMaterial : public AnimationUpdateCallback<osg::StateAttribute::Callback> 
     131    class OSGANIMATION_EXPORT UpdateMaterial : public AnimationUpdateCallback<osg::StateAttributeCallback> 
    134132    { 
    135133    protected: 
     
    148146        bool needLink() const; 
    149147        bool link(osgAnimation::Channel* channel); 
     148        osgAnimation::Vec4Target* getDiffuse(); 
    150149    }; 
    151150