From 0dde92ab839553a53da1015363496e18355d5ba3 Mon Sep 17 00:00:00 2001 From: huxingyi Date: Wed, 8 Apr 2020 23:17:03 +0930 Subject: [PATCH] Fix imported mesh combine mode [skip ci] --- src/documentwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documentwindow.cpp b/src/documentwindow.cpp index 566344d9..07775fd1 100644 --- a/src/documentwindow.cpp +++ b/src/documentwindow.cpp @@ -1582,7 +1582,7 @@ void DocumentWindow::createPartSnapshotForFillMesh(const QUuid &fillMeshFileId, auto componentIdString = componentId.toString(); std::map snapshotComponent; snapshotComponent["id"] = componentIdString; - snapshotComponent["combineMode"] = "Uncombined"; + snapshotComponent["combineMode"] = CombineModeToString(Preferences::instance().componentCombineMode()); snapshotComponent["linkDataType"] = "partId"; snapshotComponent["linkData"] = partIdString; snapshot->components[componentIdString] = snapshotComponent;