readd virtual void transformSoftwareMethod() for retrocompatibity
This commit is contained in:
parent
ca224c81dd
commit
ed04e2735e
@ -89,7 +89,7 @@ namespace osgAnimation
|
|||||||
|
|
||||||
/** Set source of vertices for this morph geometry */
|
/** Set source of vertices for this morph geometry */
|
||||||
inline void setVertexSource(osg::Vec3Array *v){ _positionSource=v;}
|
inline void setVertexSource(osg::Vec3Array *v){ _positionSource=v;}
|
||||||
|
|
||||||
/** Get source of vertices for this morph geometry */
|
/** Get source of vertices for this morph geometry */
|
||||||
inline osg::Vec3Array * getVertexSource()const{return _positionSource;}
|
inline osg::Vec3Array * getVertexSource()const{return _positionSource;}
|
||||||
|
|
||||||
@ -143,6 +143,8 @@ namespace osgAnimation
|
|||||||
inline void dirty(bool b=true) { _dirty = b; }
|
inline void dirty(bool b=true) { _dirty = b; }
|
||||||
inline bool isDirty()const { return _dirty; }
|
inline bool isDirty()const { return _dirty; }
|
||||||
|
|
||||||
|
/** for retrocompatibility */
|
||||||
|
virtual void transformSoftwareMethod(){ if (!_rigTransformImplementation.valid()_rigTransformImplementation = new MorphTransformSoftware();_rigTransformImplementation(*this);}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
osg::ref_ptr<MorphTransform> _rigTransformImplementation;
|
osg::ref_ptr<MorphTransform> _rigTransformImplementation;
|
||||||
|
Loading…
Reference in New Issue
Block a user