mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 20:56:02 +08:00
FIX: cycle request when ModelThumbnail failed
Change-Id: Id3faa194b9cc5b8a7d54007fd7d15dd9d054955f
This commit is contained in:
parent
2871e77e79
commit
fba2431f91
@ -814,8 +814,10 @@ void PrinterFileSystem::UpdateFocusThumbnail2(std::shared_ptr<std::vector<File>>
|
||||
if (type == ModelThumbnail) {
|
||||
for (auto &file : *files) {
|
||||
auto thumbnail = file.metadata["Thumbnail"];
|
||||
if (!thumbnail.empty())
|
||||
if (!thumbnail.empty()) {
|
||||
arr.push_back(file.path + "#" + thumbnail);
|
||||
file.flags &= ~FF_THUMNAIL;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (arr.empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user