mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-18 04:25:56 +08: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
@ -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…
x
Reference in New Issue
Block a user