From c1fd265d18e4ba1dcee7f2a144907db22d69277c Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 14 Sep 2022 13:43:57 +0200 Subject: [PATCH] Fix jumping hidden items larger than the bed after hitting arrange --- src/slic3r/GUI/Jobs/ArrangeJob.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Jobs/ArrangeJob.cpp b/src/slic3r/GUI/Jobs/ArrangeJob.cpp index e75304d7a..180aa5d84 100644 --- a/src/slic3r/GUI/Jobs/ArrangeJob.cpp +++ b/src/slic3r/GUI/Jobs/ArrangeJob.cpp @@ -239,7 +239,9 @@ void ArrangeJob::finalize(bool canceled, std::exception_ptr &eptr) { // Move the unprintable items to the last virtual bed. for (ArrangePolygon &ap : m_unprintable) { - ap.bed_idx += beds + 1; + if (ap.bed_idx >= 0) + ap.bed_idx += beds + 1; + ap.apply(); }