diff --git a/include/osgAnimation/MorphGeometry b/include/osgAnimation/MorphGeometry index 57d54ebfb..f74fdff85 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(*this);} protected: osg::ref_ptr _rigTransformImplementation;