FIX:check "is_gcode_3mf" api
jira: STUDIO-9124&&gerrit27184 Change-Id: I13756818dce236f8b3a0f910156271ba334d5e8c (cherry picked from commit 541ebc7ca42f663dc5b21330b186f94e84adbde3)
This commit is contained in:
parent
6b3a6a40b1
commit
4202043f5e
|
@ -273,7 +273,7 @@ public:
|
|||
void calib_VFA(const Calib_Params ¶ms);
|
||||
|
||||
//BBS: add only gcode mode
|
||||
bool is_gcode_3mf() { return m_only_gcode && m_exported_file; }
|
||||
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; }
|
||||
|
||||
|
@ -778,7 +778,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 };
|
||||
|
|
Loading…
Reference in New Issue