From ed04e2735e1d3772640cc5bfbb733cb6126e792e Mon Sep 17 00:00:00 2001 From: Julien Valentin Date: Mon, 28 Aug 2017 04:42:51 +0200 Subject: [PATCH] readd virtual void transformSoftwareMethod() for retrocompatibity --- include/osgAnimation/MorphGeometry | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/osgAnimation/MorphGeometry b/include/osgAnimation/MorphGeometry index e8c89d22d..57d54ebfb 100644 --- a/include/osgAnimation/MorphGeometry +++ b/include/osgAnimation/MorphGeometry @@ -89,7 +89,7 @@ namespace osgAnimation /** Set source of vertices for this morph geometry */ inline void setVertexSource(osg::Vec3Array *v){ _positionSource=v;} - + /** Get source of vertices for this morph geometry */ inline osg::Vec3Array * getVertexSource()const{return _positionSource;} @@ -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 _rigTransformImplementation;