Commit 52dcd282 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Reduce repaints

Change-Id: I39e7eae1036ee79689ccd49bfe900fee93a3454b
Reviewed-on: http://codereview.qt.nokia.com/808

Reviewed-by: default avatarMarco Bubke <marco.bubke@nokia.com>
parent 3aae4c18
......@@ -100,7 +100,7 @@ void Qt4RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
ServerNodeInstance instance = instanceForObject(graphicsObject);
QGraphicsItemPrivate *d = QGraphicsItemPrivate::get(item);
if((d->dirty && d->notifyBoundingRectChanged)|| (d->dirty) || nonInstanceChildIsDirty(graphicsObject))
if((d->dirty && d->notifyBoundingRectChanged) || (d->dirty && !d->dirtySceneTransform) || nonInstanceChildIsDirty(graphicsObject))
m_dirtyInstanceSet.insert(instance);
if (d->geometryChanged) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment