FIX: scarf seam inner walls option not work

Github: 5748

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8e1240b4621ce166c49b2ca08a1509503aae3158
This commit is contained in:
qing.zhang 2025-02-11 16:49:36 +08:00 committed by lane.wei
parent c0a2982c79
commit b9a835efd7
1 changed files with 2 additions and 2 deletions

View File

@ -4567,8 +4567,8 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
// BBS: not apply on fist layer, too small E has stick issue with hotend plate // BBS: not apply on fist layer, too small E has stick issue with hotend plate
int filament_scarf_type = EXTRUDER_CONFIG(filament_scarf_seam_type); int filament_scarf_type = EXTRUDER_CONFIG(filament_scarf_seam_type);
bool enable_seam_slope = (filament_scarf_type == int(SeamScarfType::External) && !is_hole) || bool enable_seam_slope = ((filament_scarf_type == int(SeamScarfType::External) && !is_hole) ||
filament_scarf_type == int(SeamScarfType::All) && filament_scarf_type == int(SeamScarfType::All)) &&
!m_config.spiral_mode && !m_config.spiral_mode &&
(loop.role() == erExternalPerimeter || (loop.role() == erExternalPerimeter ||
(loop.role() == erPerimeter && m_config.seam_slope_inner_walls)) && (loop.role() == erPerimeter && m_config.seam_slope_inner_walls)) &&