Merge pull request #331 from mp3butcher/osganimation

Osganimation fix a bug introduced when readding transformsoftwareMethod
This commit is contained in:
OpenSceneGraph git repository 2017-08-28 13:18:37 +01:00 committed by GitHub
commit 1aeb27b54f

View File

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