diff --git a/src/base.cpp b/src/base.cpp index 646d202..c92ee28 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -398,8 +398,9 @@ Matrix::scale(const V3d *scale, CombineOp op) Matrix tmp; Matrix scl = identMat; scl.right.x = scale->x; - scl.right.y = scale->y; - scl.right.z = scale->z; + scl.up.y = scale->y; + scl.at.z = scale->z; + scl.flags &= ~IDENTITY; switch(op){ case COMBINEREPLACE: *this = scl;