Size changes do not warrant a transform update.
authorGunnar Sletta <gunnar.sletta@digia.com>
Tue, 10 Dec 2013 11:25:21 +0000 (12:25 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 11 Dec 2013 07:57:44 +0000 (08:57 +0100)
The size is not a part of the matrix, so the matrix does
not need to be recomputed when the size of an element changes.
The exception from this is when using transform origin which
is already specialcased in the QQuickWindow::updateDirtyNode()
function.

Change-Id: I2c517880d39aa69232974f65da93333b7cba341d
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/quick/items/qquickitem_p.h

index 7faf39f..44eabcf 100644 (file)
@@ -449,7 +449,7 @@ public:
         // dirtyToString()
 
         TransformUpdateMask     = TransformOrigin | Transform | BasicTransform | Position |
-                                  Size | Window,
+                                  Window,
         ComplexTransformUpdateMask     = Transform | Window,
         ContentUpdateMask       = Size | Content | Smooth | Window | Antialiasing,
         ChildrenUpdateMask      = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window