forked from qt-creator/qt-creator
QmlDesigner.QmlPuppet: fix for nonInstanceChildIsDirty()
We did not take care of the case where only the transform of a child changes but nothing else. Task-number: QTCREATORBUG-9796 Change-Id: Id997e527193c103abf3aeb77826501fb8f701fb7 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -113,7 +113,7 @@ bool Qt4NodeInstanceServer::nonInstanceChildIsDirty(QGraphicsObject *graphicsObj
|
||||
continue;
|
||||
|
||||
QGraphicsItemPrivate *childPrivate = QGraphicsItemPrivate::get(child);
|
||||
if (childPrivate->dirty || nonInstanceChildIsDirty(childGraphicsObject))
|
||||
if (childPrivate->dirty || d->dirtySceneTransform || nonInstanceChildIsDirty(childGraphicsObject))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user