Skip to content

Commit 666be19

Browse files
authored
Merge pull request #8245 from gudeh/dpl-repaint-after-rejected-move
dpl: repaint after rejected move at tryswap
2 parents b8dbfd9 + e3e8857 commit 666be19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dpl/src/optimization/detailed_manager.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2778,6 +2778,7 @@ bool DetailedMgr::trySwap1(Node* ndi,
27782778
return false;
27792779
}
27802780
if (!addToMoveList(ndj, x2, y2, sj, xi, y1, si)) {
2781+
paintInGrid(ndj);
27812782
return false;
27822783
}
27832784
return true;
@@ -2876,6 +2877,7 @@ bool DetailedMgr::trySwap1(Node* ndi,
28762877
return false;
28772878
}
28782879
if (!addToMoveList(ndj, x2, y2, sj, xi, y1, si)) {
2880+
paintInGrid(ndj);
28792881
return false;
28802882
}
28812883
return true;

0 commit comments

Comments
 (0)