readd virtual void transformSoftwareMethod() for retrocompatibity

This commit is contained in:
Julien Valentin 2017-08-28 04:42:51 +02:00
parent ca224c81dd
commit ed04e2735e

View File

@ -143,6 +143,8 @@ namespace osgAnimation
inline void dirty(bool b=true) { _dirty = b; }
inline bool isDirty()const { return _dirty; }
/** for retrocompatibility */
virtual void transformSoftwareMethod(){ if (!_rigTransformImplementation.valid()_rigTransformImplementation = new MorphTransformSoftware();_rigTransformImplementation(*this);}
protected:
osg::ref_ptr<MorphTransform> _rigTransformImplementation;