mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 14:35:57 +08:00
Fixed an issue that small_area_infill_compensation_model was initialized even it's not used.
Fixed #5550
This commit is contained in:
parent
ae07cf9813
commit
9a4429f603
@ -1975,7 +1975,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
|||||||
} else
|
} else
|
||||||
m_enable_extrusion_role_markers = false;
|
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 && !print.config().small_area_infill_flow_compensation_model.empty())
|
||||||
m_small_area_infill_flow_compensator = make_unique<SmallAreaInfillFlowCompensator>(print.config());
|
m_small_area_infill_flow_compensator = make_unique<SmallAreaInfillFlowCompensator>(print.config());
|
||||||
|
|
||||||
file.write_format("; HEADER_BLOCK_START\n");
|
file.write_format("; HEADER_BLOCK_START\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user