From 4e9254ec5a1a43157d1ba1f7c718df7debe26413 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 2 Dec 2020 18:08:30 +0100 Subject: [PATCH] Follow up fix for bed filling fixes: 2813db890600703663f489ea1679e3562b4de460 --- src/slic3r/GUI/Jobs/FillBedJob.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Jobs/FillBedJob.cpp b/src/slic3r/GUI/Jobs/FillBedJob.cpp index d2ff5252a..9286e4735 100644 --- a/src/slic3r/GUI/Jobs/FillBedJob.cpp +++ b/src/slic3r/GUI/Jobs/FillBedJob.cpp @@ -92,7 +92,9 @@ void FillBedJob::prepare() // arrangeable (selected) items bed_idx is ignored and the // translation is irrelevant. double stride = bed_stride(m_plater); - for (auto &p : m_unselected) p.translation(X) -= p.bed_idx * stride; + for (auto &p : m_unselected) + if (p.bed_idx > 0) + p.translation(X) -= p.bed_idx * stride; } void FillBedJob::process()