FIX: modify the error code after slice

jira: none
Change-Id: Ie82198d7037d75468d14da435e1df1dbf47d91fc
(cherry picked from commit baf38583c99000006f4ce6177b8b6c852c1d5843)
This commit is contained in:
zhimin.zeng 2025-01-17 17:37:45 +08:00 committed by Noisyfox
parent 389a7ff3a6
commit 1b1ccc398f
2 changed files with 13 additions and 4 deletions

View file

@ -4804,7 +4804,9 @@ LayerResult GCode::process_layer(
if (need_insert_timelapse_gcode_for_traditional && !has_insert_timelapse_gcode) {
// The traditional model of thin-walled object will have flaws for I3
if (m_support_traditional_timelapse && printer_structure == PrinterStructure::psI3)
if (m_support_traditional_timelapse
&& printer_structure == PrinterStructure::psI3
&& m_config.timelapse_type.value == TimelapseType::tlTraditional)
m_support_traditional_timelapse = false;
// The traditional model will have flaws for multi_extruder when switching extruder