forked from qt-creator/qt-creator
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user