add a new prepareData method to the interface

This commit is contained in:
Julien Valentin 2017-08-28 05:17:17 +02:00
parent 2b2a8f3d2e
commit f46fdb4d4e

View File

@ -33,6 +33,10 @@ namespace osgAnimation
virtual void operator()(RigGeometry&) {} virtual void operator()(RigGeometry&) {}
/// to call manually when a skeleton is reacheable from the rig
/// in order to prepare technic data before rendering
virtual bool prepareData(RigGeometry&){}
protected: protected:
virtual ~RigTransform() {} virtual ~RigTransform() {}