mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: enhance for timelapse gcode
1. support traditional timelapse for H2D when printing by object 2. insert timelapse gcode when close wipe tower 3. remove hard gcode before filament gcode jira: none Change-Id: Ib56c21b1f07832f2cbc8ba5ab7f2e8653b3105bf (cherry picked from commit 7613474cefd210685d16a5585608c0c7cb7efa95) (cherry picked from commit fff787345625a0031934e609b1b3709e39decd4a)
This commit is contained in:
@@ -1593,8 +1593,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
|
||||
|
||||
if (opt_key == "print_sequence" && m_config->opt_enum<PrintSequence>("print_sequence") == PrintSequence::ByObject) {
|
||||
auto printer_structure_opt = wxGetApp().preset_bundle->printers.get_edited_preset().config.option<ConfigOptionEnum<PrinterStructure>>("printer_structure");
|
||||
if ((printer_structure_opt && printer_structure_opt->value == PrinterStructure::psI3)
|
||||
|| m_preset_bundle->get_printer_extruder_count() == 2) {
|
||||
if (printer_structure_opt && printer_structure_opt->value == PrinterStructure::psI3) {
|
||||
wxString msg_text = _(L("The current printer does not support timelapse in Traditional Mode when printing By-Object."));
|
||||
msg_text += "\n\n" + _(L("Still print by object?"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user