mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 13:15:58 +08:00
fix thumbnails regression
This commit is contained in:
parent
bc05653a72
commit
9505f93717
@ -66,10 +66,11 @@ inline void export_thumbnails_to_file(ThumbnailsGeneratorCallback &thumbnail_cb,
|
||||
encoded = encoded.substr(max_row_length);
|
||||
}
|
||||
|
||||
// Orca write remaining ecoded data
|
||||
if (encoded.size() > 0)
|
||||
output((boost::format("; %s end\n;\n") % compressed->tag()).str().c_str());
|
||||
output((boost::format("; %s\n") % encoded).str().c_str());
|
||||
|
||||
output("; thumbnail end\n");
|
||||
output((boost::format("; %s end\n") % compressed->tag()).str().c_str());
|
||||
}
|
||||
throw_if_canceled();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user