diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 04d2ad2cf0..6a99d3f15f 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -1926,7 +1926,6 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Estimated_Printing_Time_Placeholder).c_str()); //BBS: total layer number file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Total_Layer_Number_Placeholder).c_str()); - m_enable_exclude_object = config().exclude_object; //Orca: extra check for bbl printer if (is_bbl_printers) { if (print.calib_params().mode == CalibMode::Calib_None) { // Don't support skipping in cali mode @@ -4475,6 +4474,7 @@ void GCode::apply_print_config(const PrintConfig &print_config) m_writer.apply_print_config(print_config); m_config.apply(print_config); m_scaled_resolution = scaled(print_config.resolution.value); + m_enable_exclude_object = m_config.exclude_object; #if ORCA_CHECK_GCODE_PLACEHOLDERS // If the gcode value is empty, set a value so that the check code within the parser is run