Fix jumping hidden items larger than the bed after hitting arrange
This commit is contained in:
parent
369e08aed1
commit
c1fd265d18
@ -239,7 +239,9 @@ void ArrangeJob::finalize(bool canceled, std::exception_ptr &eptr) {
|
|||||||
|
|
||||||
// Move the unprintable items to the last virtual bed.
|
// Move the unprintable items to the last virtual bed.
|
||||||
for (ArrangePolygon &ap : m_unprintable) {
|
for (ArrangePolygon &ap : m_unprintable) {
|
||||||
ap.bed_idx += beds + 1;
|
if (ap.bed_idx >= 0)
|
||||||
|
ap.bed_idx += beds + 1;
|
||||||
|
|
||||||
ap.apply();
|
ap.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user