FIX: prevent dead loop of conflict checker
jira: STUDIO-10282 Change-Id: I5722e9967cdd83cde5ef59aee37b0f7019e53d89
This commit is contained in:
parent
3f5ccacbdb
commit
b952006e4d
|
@ -122,7 +122,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…
Reference in New Issue