ENH: do not invalid thumbnails when using expoted file

fix missing project name for gcode.3mf

Change-Id: Iabc43cd54ceaa9cbbdfb7b045f5d4a24124d7007
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-12-09 20:34:12 +08:00 committed by Lane.Wei
parent 3fae63e8cf
commit c69b7780ad
2 changed files with 53 additions and 13 deletions

View file

@ -231,7 +231,9 @@ public:
//BBS: add only gcode mode
bool using_exported_file() { return m_exported_file; }
void set_using_exported_file(bool exported_file) { m_exported_file = exported_file; }
void set_using_exported_file(bool exported_file) {
m_exported_file = exported_file;
}
// BBS
wxString get_project_name();
@ -677,6 +679,7 @@ private:
//BBS: add only gcode mode
bool m_only_gcode { false };
bool m_exported_file { false };
bool skip_thumbnail_invalid { false };
int m_valid_plates_count { 0 };
void suppress_snapshots();