forked from qt-creator/qt-creator
Check for more dirty flags
This fixes an issue of the formeditor which did not update properly if components contain items that have one of zvalue, opacity or visibility attributes animated. Change-Id: I1b20f09177878419b2b18aaf94c84b6ae437be7d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -100,7 +100,13 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
|
||||
m_dirtyInstanceSet.insert(instanceForObject(effectParent));
|
||||
}
|
||||
}
|
||||
} else if (DesignerSupport::isDirty(item, DesignerSupport::AllMask)) {
|
||||
} else if (DesignerSupport::isDirty(
|
||||
item,
|
||||
DesignerSupport::DirtyType(
|
||||
DesignerSupport::AllMask
|
||||
| DesignerSupport::ZValue
|
||||
| DesignerSupport::OpacityValue
|
||||
| DesignerSupport::Visible))) {
|
||||
ServerNodeInstance ancestorInstance = findNodeInstanceForItem(
|
||||
item->parentItem());
|
||||
if (ancestorInstance.isValid())
|
||||
|
Reference in New Issue
Block a user