mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-25 15:47:25 +08:00
Follow up fix for bed filling
fixes: 2813db890600703663f489ea1679e3562b4de460
This commit is contained in:
parent
b0e5dda489
commit
4e9254ec5a
@ -92,7 +92,9 @@ void FillBedJob::prepare()
|
|||||||
// arrangeable (selected) items bed_idx is ignored and the
|
// arrangeable (selected) items bed_idx is ignored and the
|
||||||
// translation is irrelevant.
|
// translation is irrelevant.
|
||||||
double stride = bed_stride(m_plater);
|
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()
|
void FillBedJob::process()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user