mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-18 22:31:13 -06:00
fix thumbnails regression
This commit is contained in:
parent
bc05653a72
commit
9505f93717
1 changed files with 3 additions and 2 deletions
|
@ -66,10 +66,11 @@ inline void export_thumbnails_to_file(ThumbnailsGeneratorCallback &thumbnail_cb,
|
||||||
encoded = encoded.substr(max_row_length);
|
encoded = encoded.substr(max_row_length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Orca write remaining ecoded data
|
||||||
if (encoded.size() > 0)
|
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();
|
throw_if_canceled();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue