FIX:check "is_gcode_3mf" api

jira: STUDIO-9124&&gerrit27184
Change-Id: I13756818dce236f8b3a0f910156271ba334d5e8c
(cherry picked from commit 541ebc7ca42f663dc5b21330b186f94e84adbde3)
(cherry picked from commit 4202043f5e34b83fa20547e0eae1f576052e8c96)
This commit is contained in:
zhou.xu
2024-12-10 09:38:23 +08:00
committed by Noisyfox
parent dd7e3bf72d
commit b856b9a91a

View File

@@ -288,6 +288,7 @@ public:
BuildVolume_Type get_build_volume_type() const;
//BBS: add only gcode mode
bool is_gcode_3mf() { return m_exported_file; }
bool only_gcode_mode() { return m_only_gcode; }
void set_only_gcode(bool only_gcode) { m_only_gcode = only_gcode; }
@@ -824,7 +825,7 @@ private:
wxString m_last_loaded_gcode;
//BBS: add only gcode mode
bool m_only_gcode { false };
bool m_only_gcode { false };//just for .gcode file not for .gcode.3mf
bool m_exported_file { false };
bool skip_thumbnail_invalid { false };
bool m_loading_project { false };