Skip to content
Snippets Groups Projects
Commit ac4df34d authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann
Browse files

QmlDesigner.NodeInstances: Polish items for data collection


Change-Id: I3ca322ae72b546b0a55162f376a2895642c7a187
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent e6fe6c0f
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,8 @@ void Qt5InformationNodeInstanceServer::collectItemChangesAndSendChangeCommands() ...@@ -92,6 +92,8 @@ void Qt5InformationNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (!inFunction) { if (!inFunction) {
inFunction = true; inFunction = true;
DesignerSupport::polishItems(quickView());
QSet<ServerNodeInstance> informationChangedInstanceSet; QSet<ServerNodeInstance> informationChangedInstanceSet;
QVector<InstancePropertyPair> propertyChangedList; QVector<InstancePropertyPair> propertyChangedList;
bool adjustSceneRect = false; bool adjustSceneRect = false;
......
...@@ -70,6 +70,9 @@ void Qt5PreviewNodeInstanceServer::collectItemChangesAndSendChangeCommands() ...@@ -70,6 +70,9 @@ void Qt5PreviewNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (!inFunction && nodeInstanceClient()->bytesToWrite() < 10000) { if (!inFunction && nodeInstanceClient()->bytesToWrite() < 10000) {
inFunction = true; inFunction = true;
DesignerSupport::polishItems(quickView());
QVector<ImageContainer> imageContainerVector; QVector<ImageContainer> imageContainerVector;
imageContainerVector.append(ImageContainer(0, renderPreviewImage(), -1)); imageContainerVector.append(ImageContainer(0, renderPreviewImage(), -1));
......
...@@ -79,6 +79,8 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands() ...@@ -79,6 +79,8 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (!inFunction) { if (!inFunction) {
inFunction = true; inFunction = true;
DesignerSupport::polishItems(quickView());
if (quickView() && nodeInstanceClient()->bytesToWrite() < 10000) { if (quickView() && nodeInstanceClient()->bytesToWrite() < 10000) {
foreach (QQuickItem *item, allItems()) { foreach (QQuickItem *item, allItems()) {
if (item) { if (item) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment