FIX: [STUDIO-4228] clear cache data before require thumbnail of 3mf

Change-Id: I8cf60fa3b8a45a85311cddc5c508d88fcfdb41da
Jira: STUDIO-4228
This commit is contained in:
chunmao.guo 2023-08-28 15:33:26 +08:00 committed by Lane.Wei
parent b6a2dcc057
commit 24e672a0f1
1 changed files with 1 additions and 0 deletions

View File

@ -842,6 +842,7 @@ void PrinterFileSystem::UpdateFocusThumbnail2(std::shared_ptr<std::vector<File>>
if (!thumbnail.empty()) {
arr.push_back(file.path + "#" + thumbnail);
file.flags &= ~FF_THUMNAIL;
file.local_path.clear();
}
}
}