Fix imported mesh combine mode [skip ci]

master
huxingyi 2020-04-08 23:17:03 +09:30
parent 808a21a863
commit 0dde92ab83
1 changed files with 1 additions and 1 deletions

View File

@ -1582,7 +1582,7 @@ void DocumentWindow::createPartSnapshotForFillMesh(const QUuid &fillMeshFileId,
auto componentIdString = componentId.toString();
std::map<QString, QString> snapshotComponent;
snapshotComponent["id"] = componentIdString;
snapshotComponent["combineMode"] = "Uncombined";
snapshotComponent["combineMode"] = CombineModeToString(Preferences::instance().componentCombineMode());
snapshotComponent["linkDataType"] = "partId";
snapshotComponent["linkData"] = partIdString;
snapshot->components[componentIdString] = snapshotComponent;