fix a bug introduced when readding transformsoftwareMethod
This commit is contained in:
parent
f46fdb4d4e
commit
66aedbb0b3
@ -144,7 +144,7 @@ namespace osgAnimation
|
|||||||
inline bool isDirty()const { return _dirty; }
|
inline bool isDirty()const { return _dirty; }
|
||||||
|
|
||||||
/** for retrocompatibility */
|
/** 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:
|
protected:
|
||||||
osg::ref_ptr<MorphTransform> _rigTransformImplementation;
|
osg::ref_ptr<MorphTransform> _rigTransformImplementation;
|
||||||
|
Loading…
Reference in New Issue
Block a user