Fix imported mesh combine mode [skip ci]
parent
808a21a863
commit
0dde92ab83
|
@ -1582,7 +1582,7 @@ void DocumentWindow::createPartSnapshotForFillMesh(const QUuid &fillMeshFileId,
|
||||||
auto componentIdString = componentId.toString();
|
auto componentIdString = componentId.toString();
|
||||||
std::map<QString, QString> snapshotComponent;
|
std::map<QString, QString> snapshotComponent;
|
||||||
snapshotComponent["id"] = componentIdString;
|
snapshotComponent["id"] = componentIdString;
|
||||||
snapshotComponent["combineMode"] = "Uncombined";
|
snapshotComponent["combineMode"] = CombineModeToString(Preferences::instance().componentCombineMode());
|
||||||
snapshotComponent["linkDataType"] = "partId";
|
snapshotComponent["linkDataType"] = "partId";
|
||||||
snapshotComponent["linkData"] = partIdString;
|
snapshotComponent["linkData"] = partIdString;
|
||||||
snapshot->components[componentIdString] = snapshotComponent;
|
snapshot->components[componentIdString] = snapshotComponent;
|
||||||
|
|
Loading…
Reference in New Issue