diff --git a/src/slic3r/GUI/Plater.hpp b/src/slic3r/GUI/Plater.hpp index 822988c7f..697ea13e9 100644 --- a/src/slic3r/GUI/Plater.hpp +++ b/src/slic3r/GUI/Plater.hpp @@ -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 };