From Farshid Lashkari, Added missing initialization of the _scaleByTextureRectangleSize

variable in two of its constructors.
This commit is contained in:
Robert Osfield
2006-11-22 20:39:44 +00:00
parent 0a696dbdc7
commit 1f3a851cfc

View File

@@ -27,12 +27,13 @@ class OSG_EXPORT TexMat : public StateAttribute
TexMat();
TexMat(const Matrix& matrix):_matrix(matrix) {}
TexMat(const Matrix& matrix):_matrix(matrix),_scaleByTextureRectangleSize(false) {}
/** Copy constructor using CopyOp to manage deep vs shallow copy. */
TexMat(const TexMat& texmat,const CopyOp& copyop=CopyOp::SHALLOW_COPY):
StateAttribute(texmat,copyop),
_matrix(texmat._matrix) {}
_matrix(texmat._matrix),
_scaleByTextureRectangleSize(texmat._scaleByTextureRectangleSize) {}
META_StateAttribute(osg, TexMat, TEXMAT);