Commit ac4df34d authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann

QmlDesigner.NodeInstances: Polish items for data collection

Change-Id: I3ca322ae72b546b0a55162f376a2895642c7a187
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent e6fe6c0f
......@@ -92,6 +92,8 @@ void Qt5InformationNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (!inFunction) {
inFunction = true;
DesignerSupport::polishItems(quickView());
QSet<ServerNodeInstance> informationChangedInstanceSet;
QVector<InstancePropertyPair> propertyChangedList;
bool adjustSceneRect = false;
......
......@@ -70,6 +70,9 @@ void Qt5PreviewNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (!inFunction && nodeInstanceClient()->bytesToWrite() < 10000) {
inFunction = true;
DesignerSupport::polishItems(quickView());
QVector<ImageContainer> imageContainerVector;
imageContainerVector.append(ImageContainer(0, renderPreviewImage(), -1));
......
......@@ -79,6 +79,8 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (!inFunction) {
inFunction = true;
DesignerSupport::polishItems(quickView());
if (quickView() && nodeInstanceClient()->bytesToWrite() < 10000) {
foreach (QQuickItem *item, allItems()) {
if (item) {
......
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