From 43da0f7d9a1b8bb035f1fb2563d1b0962c977c6c Mon Sep 17 00:00:00 2001 From: Eyal Levin Date: Sat, 18 Apr 2026 09:42:54 +0300 Subject: [PATCH] Fix crash when selecting or moving wipe tower (#13243) --- src/slic3r/GUI/Selection.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp index 265c43b422..05b9ae5d35 100644 --- a/src/slic3r/GUI/Selection.cpp +++ b/src/slic3r/GUI/Selection.cpp @@ -600,7 +600,9 @@ void Selection::set_printable(bool printable) } bool Selection::get_auto_drop() const { - if (!m_valid) + // The wipe tower is not a ModelObject and has no per-instance auto_drop; + // return the default to avoid indexing m_model->objects with its synthetic id. + if (!m_valid || is_wipe_tower()) return true; std::set> instances_idxs;