Merge branch 'tm_arrange_jump_SPE-1297'

This commit is contained in:
tamasmeszaros 2022-09-20 11:15:55 +02:00
commit 5ecacdc66c

View file

@ -242,7 +242,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();
}