Index: OpenSceneGraph/trunk/include/osgAnimation/RigTransformHardware
===================================================================
--- OpenSceneGraph/trunk/include/osgAnimation/RigTransformHardware (revision 10918)
+++ OpenSceneGraph/trunk/include/osgAnimation/RigTransformHardware (revision 11009)
@@ -13,6 +13,6 @@
  */
 
-#ifndef OSGANIMATION_RIG_TRANSFORM_HARDWARE_H
-#define OSGANIMATION_RIG_TRANSFORM_HARDWARE_H 1
+#ifndef OSGANIMATION_RIG_TRANSFORM_HARDWARE
+#define OSGANIMATION_RIG_TRANSFORM_HARDWARE 1
 
 #include <osgAnimation/Export>
@@ -33,5 +33,4 @@
         typedef osg::Matrix MatrixType;
         typedef osgAnimation::Bone BoneType;
-        typedef Bone::BoneMap BoneMap;
         typedef std::vector<osg::ref_ptr<osg::Vec4Array> > BoneWeightAttribList;
         typedef std::vector<osg::ref_ptr<BoneType> > BonePalette;
@@ -49,4 +48,6 @@
         typedef std::vector<std::vector<IndexWeightEntry> > VertexIndexWeightList;
 
+        RigTransformHardware();
+
         osg::Vec4Array* getVertexAttrib(int index);
         int getNumVertexAttrib();
@@ -60,10 +61,10 @@
         bool createPalette(int nbVertexes, BoneMap boneMap, const VertexInfluenceSet::VertexIndexToBoneWeightMap& vertexIndexToBoneWeightMap);
 
+        virtual void operator()(RigGeometry&);
+        void setShader(osg::Shader*);
 
-        virtual bool init(RigGeometry&);
-        virtual void update(RigGeometry&);
+    protected:
 
-        void setShader(osg::Shader*);
-    protected:
+        bool init(RigGeometry&);
 
         BoneWeightAttribList createVertexAttribList();
@@ -77,4 +78,6 @@
         osg::ref_ptr<osg::Uniform> _uniformMatrixPalette;
         osg::ref_ptr<osg::Shader> _shader;
+
+        bool _needInit;
     };
 }
