QmlDesigner.nodeInstances: fixing updating

Checking for !d->dirtySceneTransform makes no sense, since
it is always true after changing states.
So once the user changed the state updates where not
triggered anymore.

Reviewed-by: Kai Koehne
This commit is contained in:
Thomas Hartmann
2011-03-22 12:37:55 +01:00
parent e828c425b5
commit 79c8638645

View File

@@ -64,7 +64,7 @@ void RenderNodeInstanceServer::findItemChangesAndSendChangeCommands()
ServerNodeInstance instance = instanceForObject(graphicsObject);
QGraphicsItemPrivate *d = QGraphicsItemPrivate::get(item);
if((d->dirty && d->notifyBoundingRectChanged)|| (d->dirty && !d->dirtySceneTransform) || nonInstanceChildIsDirty(graphicsObject))
if((d->dirty && d->notifyBoundingRectChanged)|| (d->dirty) || nonInstanceChildIsDirty(graphicsObject))
m_dirtyInstanceSet.insert(instance);
if (d->geometryChanged) {