mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
ENABLE_THUMBNAIL_GENERATOR -> Add file Metadata/thumbnail.png into 3mf output
This commit is contained in:
parent
540253f676
commit
4517fcd997
3 changed files with 26 additions and 59 deletions
|
@ -146,7 +146,7 @@ void BackgroundSlicingProcess::process_sla()
|
|||
m_sla_print->export_raster(zipper);
|
||||
|
||||
#if ENABLE_THUMBNAIL_GENERATOR
|
||||
if (m_thumbnail_data!= nullptr)
|
||||
if ((m_thumbnail_data != nullptr) && m_thumbnail_data->is_valid())
|
||||
write_thumbnail(zipper, *m_thumbnail_data);
|
||||
#endif // ENABLE_THUMBNAIL_GENERATOR
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue