Skip to content

Commit

Permalink
Bug fix on past steps in BasicStub
Browse files Browse the repository at this point in the history
  • Loading branch information
hbitteur committed Jun 26, 2018
1 parent 0b61dde commit 46c28a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/org/audiveris/omr/sheet/BasicStub.java
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,9 @@ public boolean reachStep (Step target,
logger.debug("reachStep got lock on {}", this);

try {
if (force && isDone(target)) {
final Step latestStep = getLatestStep();

if (force && (target.compareTo(latestStep) <= 0)) {
resetToBinary();
}

Expand Down

0 comments on commit 46c28a1

Please sign in to comment.