FIX: prevent dead loop of conflict checker

jira: STUDIO-10282
Change-Id: I5722e9967cdd83cde5ef59aee37b0f7019e53d89
This commit is contained in:
Arthur 2025-02-20 18:42:07 +08:00 committed by Lane.Wei
parent 3f5ccacbdb
commit b952006e4d
1 changed files with 2 additions and 0 deletions

View File

@ -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;