From 66aedbb0b365616659480fb32c167cf812adea48 Mon Sep 17 00:00:00 2001 From: Julien Valentin Date: Mon, 28 Aug 2017 05:22:14 +0200 Subject: [PATCH] fix a bug introduced when readding transformsoftwareMethod --- include/osgAnimation/MorphGeometry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgAnimation/MorphGeometry b/include/osgAnimation/MorphGeometry index 57d54ebfb..a1ec3f697 100644 --- a/include/osgAnimation/MorphGeometry +++ b/include/osgAnimation/MorphGeometry @@ -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 _rigTransformImplementation;