add prepareData for rigttransform software

This commit is contained in:
Julien Valentin
2017-08-28 14:25:12 +02:00
parent e216833286
commit f899a8dde5
2 changed files with 141 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ namespace osgAnimation
META_Object(osgAnimation,RigTransformSoftware)
virtual void operator()(RigGeometry&);
//to call when a skeleton is reacheable from the rig to prepare technic data
virtual bool prepareData(RigGeometry&);
class BonePtrWeight: public BoneWeight
{
@@ -172,6 +174,7 @@ namespace osgAnimation
std::map<std::string,bool> _invalidInfluence;
void buildMinimumUpdateSet(const BoneMap&boneMap,const RigGeometry&rig );
};
}