FIX: [STUDIO-4228] clear cache data before require thumbnail of 3mf
Change-Id: I8cf60fa3b8a45a85311cddc5c508d88fcfdb41da Jira: STUDIO-4228
This commit is contained in:
parent
b6a2dcc057
commit
24e672a0f1
|
@ -842,6 +842,7 @@ void PrinterFileSystem::UpdateFocusThumbnail2(std::shared_ptr<std::vector<File>>
|
||||||
if (!thumbnail.empty()) {
|
if (!thumbnail.empty()) {
|
||||||
arr.push_back(file.path + "#" + thumbnail);
|
arr.push_back(file.path + "#" + thumbnail);
|
||||||
file.flags &= ~FF_THUMNAIL;
|
file.flags &= ~FF_THUMNAIL;
|
||||||
|
file.local_path.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue