fix #51026: slash fill confused with fractional measure duration

This commit is contained in:
Marc Sabatella 2015-03-16 12:42:23 -06:00
parent e13341589b
commit 658acb190d

View file

@ -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) {