mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 01:56:03 +08:00
FIX: auto-arranging crash for single plate arranging
Jira: STUDIO-4651 Change-Id: I8e4be997292d7f7dbd741368e20db5a0d2e693cb (cherry picked from commit 7d75f5903f67fb332eaff4563308d5f196e45d1f)
This commit is contained in:
parent
fe076075df
commit
8bb63ebeaf
@ -163,7 +163,8 @@ public:
|
||||
|
||||
if (was_packed && it->get().has_tried_with_excluded) {
|
||||
placers[j].clearItems([](const Item &itm) { return itm.isFixed() && !itm.is_wipe_tower; });
|
||||
placers[j].preload(fixed_bins[placers.size() - 1]);
|
||||
if (fixed_bins.size() >= placers.size())
|
||||
placers[j].preload(fixed_bins[placers.size() - 1]);
|
||||
}
|
||||
bool placer_not_packed = !was_packed && !placers.empty() && j == placers.size() && placers[j - 1].getPackedSize() == 0; // large item is not placed into the bin
|
||||
if (placer_not_packed) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user