Remove validation for Disabled Small area compensation (#12528)

Do not check if disabled
This commit is contained in:
Ian Bassi
2026-04-23 00:22:34 +08:00
committed by GitHub
parent e99382da68
commit 709ec51712
+1 -1
View File
@@ -2476,7 +2476,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
} else
m_enable_extrusion_role_markers = false;
if (!print.config().small_area_infill_flow_compensation_model.empty())
if (m_config.small_area_infill_flow_compensation.value && !m_config.small_area_infill_flow_compensation_model.empty())
m_small_area_infill_flow_compensator = make_unique<SmallAreaInfillFlowCompensator>(print.config());
// Process file_start_gcode - written at the very top of the file, before any header