Skip to content

Commit

Permalink
Merge pull request #1890 from MarcSabatella/51026-slash-fraction
Browse files Browse the repository at this point in the history
fix #51026: slash fill confused with fractional measure duration
  • Loading branch information
lasconic committed Mar 16, 2015
2 parents e133415 + 658acb1 commit 15f0017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2720,7 +2720,7 @@ void Score::cmdSlashFill()
int n = (d > 4 && s->measure()->timesig().numerator() % 3 == 0) ? 3 : 1;
Fraction f(n, d);
// skip over any leading segments before next (first) beat
if (s->tick() % f.ticks())
if (s->rtick() % f.ticks())
continue;
// determine voice to use - first available voice for this measure / staff
if (voice == -1 || s->rtick() == 0) {
Expand Down

0 comments on commit 15f0017

Please sign in to comment.