From 2c48e308582b335b009f76ab6f4c33327253529c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 12 Feb 2012 22:45:43 +0100 Subject: [PATCH] Simplified Object::multiplyTransformation(). --- src/Object.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Object.h b/src/Object.h index e9ed3439d..8becc2add 100644 --- a/src/Object.h +++ b/src/Object.h @@ -103,8 +103,7 @@ class MAGNUM_EXPORT Object { * Multiplies current transformation matrix by new matrix. */ inline void multiplyTransformation(const Matrix4& transformation, bool global = true) { - _transformation = global ? transformation*_transformation : _transformation*transformation; - setDirty(); + setTransformation(global ? transformation*_transformation : _transformation*transformation); } /**