From Farshid Lashkari, "The setScale(Vec3) method of osg::AutoTransform does not dirty the

matrix. The fix is attached."
This commit is contained in:
Robert Osfield
2006-05-09 09:12:43 +00:00
parent 2fc17d3942
commit 1c6e165cb3

View File

@@ -49,7 +49,7 @@ class OSG_EXPORT AutoTransform : public Transform
inline const Quat& getRotation() const { return _rotation; }
inline void setScale(float scale) { _scale.set(scale,scale,scale); _matrixDirty=true; dirtyBound(); }
inline void setScale(const Vec3& scale) { _scale = scale; dirtyBound(); }
inline void setScale(const Vec3& scale) { _scale = scale; _matrixDirty=true; dirtyBound(); }
inline const Vec3& getScale() const { return _scale; }
inline void setPivotPoint(const Vec3& pivot) { _pivotPoint = pivot; _matrixDirty=true; dirtyBound(); }