mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: prevent dead loop of conflict checker (#9115)
jira: STUDIO-10282 Change-Id: I5722e9967cdd83cde5ef59aee37b0f7019e53d89 (cherry picked from commit b952006e4db49f00054cc2ac539074222c890d08) Co-authored-by: Arthur <arthur.tang@bambulab.com>
This commit is contained in:
parent
a2bf46fc53
commit
f14232396a
1 changed files with 2 additions and 0 deletions
|
@ -119,7 +119,9 @@ float LinesBucketQueue::getCurrBottomZ()
|
||||||
}
|
}
|
||||||
|
|
||||||
for (LinesBucket *bp : lowests) {
|
for (LinesBucket *bp : lowests) {
|
||||||
|
float prevZ = bp->curBottomZ();
|
||||||
bp->raise();
|
bp->raise();
|
||||||
|
if (bp->curBottomZ() == prevZ) continue;
|
||||||
if (bp->valid()) { line_bucket_ptr_queue.push(bp); }
|
if (bp->valid()) { line_bucket_ptr_queue.push(bp); }
|
||||||
}
|
}
|
||||||
return layerBottomZ;
|
return layerBottomZ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue