mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Bug fix: Check for air filtration support on the printer level before emitting air filtration gcode command (#8681)
* Check for air filtration support on the printer level before emitting air filtration gcode command * Merge branch 'main' into Check-air-filtration-support-at-the-printer-level-too
This commit is contained in:
parent
9a0ce083a4
commit
22e410f82d
1 changed files with 3 additions and 0 deletions
|
@ -2412,6 +2412,9 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
||||||
during_print_exhaust_fan_speed = std::max(during_print_exhaust_fan_speed,
|
during_print_exhaust_fan_speed = std::max(during_print_exhaust_fan_speed,
|
||||||
m_config.during_print_exhaust_fan_speed.get_at(extruder.id()));
|
m_config.during_print_exhaust_fan_speed.get_at(extruder.id()));
|
||||||
}
|
}
|
||||||
|
// ORCA: If the printer profile doesnt support air filtration, ignore filament setting
|
||||||
|
if(!m_config.support_air_filtration)
|
||||||
|
activate_air_filtration = false;
|
||||||
if (activate_air_filtration)
|
if (activate_air_filtration)
|
||||||
file.write(m_writer.set_exhaust_fan(during_print_exhaust_fan_speed, true));
|
file.write(m_writer.set_exhaust_fan(during_print_exhaust_fan_speed, true));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue