Rolbacked RigGeometry with the hackyfix (I just add the compute boundcallback in the copy consturctor)

Modified headers of RigTransforms to comply with osg metamodel
This commit is contained in:
Julien Valentin
2016-06-27 11:51:32 +01:00
committed by Robert Osfield
parent 4c149bd2e7
commit c8a7ce4e52
4 changed files with 19 additions and 9 deletions

View File

@@ -30,6 +30,12 @@ namespace osgAnimation
class OSGANIMATION_EXPORT RigTransformHardware : public RigTransform
{
public:
RigTransformHardware();
RigTransformHardware(const RigTransformHardware&,const osg::CopyOp&){};
META_Object(osgAnimation,RigTransformHardware)
typedef osg::Matrix MatrixType;
typedef osgAnimation::Bone BoneType;
typedef std::vector<osg::ref_ptr<osg::Vec4Array> > BoneWeightAttribList;
@@ -48,7 +54,7 @@ namespace osgAnimation
};
typedef std::vector<std::vector<IndexWeightEntry> > VertexIndexWeightList;
RigTransformHardware();
osg::Vec4Array* getVertexAttrib(int index);
int getNumVertexAttrib();