mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: auto-arranging made objects overlap with occluded region
finalAlign was not correct because the excluded regions are counted twice. Jira: STUDIO-4259 Change-Id: Ie4ad167af8487ce7250b83d85f144ef01e60e00f (cherry picked from commit 154de0d94ff34231a60966fb89cc14655cce8008)
This commit is contained in:
@@ -1130,7 +1130,6 @@ private:
|
||||
return;
|
||||
{ // find a best position inside NFP of fixed items (excluded regions), so the center of pile is cloest to bed center
|
||||
RawShape objs_convex_hull = sl::convexHull(objs);
|
||||
for (const Item &item : config_.m_excluded_regions) { excludes.push_back(item.transformedShape()); }
|
||||
for (const Item &item : items_) {
|
||||
if (item.isFixed()) {
|
||||
excludes.push_back(item.transformedShape());
|
||||
|
||||
Reference in New Issue
Block a user