restrict backwards compat option to old projects only

This commit is contained in:
itsmattkc
2021-10-08 12:58:39 -07:00
parent 469e0525ba
commit fc83e439cc
4 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ QVector<Node *> NodeCopyPasteService::PasteNodesFromClipboard(NodeGraph *graph,
// Make connections
if (!xml_node_data.desired_connections.isEmpty()) {
XMLConnectNodes(xml_node_data, command);
XMLConnectNodes(xml_node_data, data_version, command);
}
// Link blocks
+1 -1
View File
@@ -196,7 +196,7 @@ void Project::Load(QXmlStreamReader *reader, MainWindowLayoutInfo* layout, uint
}
// Make connections
XMLConnectNodes(xml_node_data);
XMLConnectNodes(xml_node_data, version);
// Link blocks
XMLLinkBlocks(xml_node_data);