From f82783259a606cb2aa661a5625b7018a5b96f48d Mon Sep 17 00:00:00 2001 From: "songwei.li" Date: Fri, 8 Aug 2025 15:10:28 +0800 Subject: [PATCH] ENH: add jump to potion button for Clumping detection by object error Added option information to the error prompt to facilitate users to jump to the corresponding option jira: none Change-Id: I3f13acac08a1e84625dc22363822989f1eab7ec7 (cherry picked from commit 96b4e6610fa532b74247abe925d8c8d19869bf93) --- src/libslic3r/Print.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index 1a20a991c1..a04c78782f 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -1211,8 +1211,12 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons* if (m_config.timelapse_type == TimelapseType::tlSmooth) return {L("Smooth mode of timelapse is not supported when \"by object\" sequence is enabled.")}; - if (m_config.enable_wrapping_detection) - return {L("Clumping detection is not supported when \"by object\" sequence is enabled.")}; + if (m_config.enable_wrapping_detection) { + StringObjectException clumping_detection_setting_err; + clumping_detection_setting_err.string = L("Clumping detection is not supported when \"by object\" sequence is enabled."); + clumping_detection_setting_err.opt_key = L("enable_wrapping_detection"); + return clumping_detection_setting_err; + } //BBS: refine seq-print validation logic auto ret = sequential_print_clearance_valid(*this, collison_polygons, height_polygons);