FIX: auto-arranging unprintable items may crash

github: #3676
Change-Id: I68eb87c73ad2c0c269f60e661136fd1a72ee5e2f
(cherry picked from commit 7e3c57eaa811424935fe8db6a4e77dd142ee2b58)
This commit is contained in:
Arthur 2024-03-05 18:32:06 +08:00 committed by Lane.Wei
parent 3c11fae5dd
commit bba3d979f1
1 changed files with 0 additions and 2 deletions

View File

@ -586,8 +586,6 @@ void ArrangeJob::process()
BOOST_LOG_TRIVIAL(debug) << item.name << ", bed: " << item.bed_idx << ", trans: " << item.translation.transpose();
}
arrangement::arrange(m_unprintable, {}, bedpts, params);
// put unpackable items to m_unprintable so they goes outside
bool we_have_unpackable_items = false;
for (auto item : m_selected) {