Index: OpenSceneGraph/trunk/include/osgAnimation/UpdateCallback
===================================================================
--- OpenSceneGraph/trunk/include/osgAnimation/UpdateCallback (revision 10593)
+++ OpenSceneGraph/trunk/include/osgAnimation/UpdateCallback (revision 10671)
@@ -37,6 +37,4 @@
         virtual void updateLink() = 0;
         virtual const std::string& getName() const = 0;
-
-        virtual ~AnimationUpdateCallbackBase() {}
     };
 
@@ -131,5 +129,5 @@
 
 
-    class OSGANIMATION_EXPORT UpdateMaterial : public AnimationUpdateCallback<osg::StateAttribute::Callback>
+    class OSGANIMATION_EXPORT UpdateMaterial : public AnimationUpdateCallback<osg::StateAttributeCallback>
     {
     protected:
@@ -148,4 +146,5 @@
         bool needLink() const;
         bool link(osgAnimation::Channel* channel);
+        osgAnimation::Vec4Target* getDiffuse();
     };
 
