1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-12 08:14:26 +00:00

Follow up fix for bed filling

fixes: 2813db8906
This commit is contained in:
tamasmeszaros
2020-12-02 18:08:30 +01:00
parent b0e5dda489
commit 4e9254ec5a
+3 -1
View File
@@ -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()