From f46fdb4d4ec06f58fbeb038c62d9cfc64860e0aa Mon Sep 17 00:00:00 2001 From: Julien Valentin Date: Mon, 28 Aug 2017 05:17:17 +0200 Subject: [PATCH] add a new prepareData method to the interface --- include/osgAnimation/RigTransform | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/osgAnimation/RigTransform b/include/osgAnimation/RigTransform index 184cdae0c..7be592035 100644 --- a/include/osgAnimation/RigTransform +++ b/include/osgAnimation/RigTransform @@ -33,6 +33,10 @@ namespace osgAnimation 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: virtual ~RigTransform() {}