Skip to content

Commit

Permalink
do not update tempo map for articulation with stretch=1
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Sep 20, 2013
1 parent 85c2e48 commit 8d38ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/score.cpp
Expand Up @@ -516,7 +516,7 @@ void Score::fixTicks()
int nn = cr->articulations().size();
for (int ii = 0; ii < nn; ++ii)
stretch = qMax(cr->articulations().at(ii)->timeStretch(), stretch);
if (stretch != 0.0) {
if (stretch != 0.0 && stretch != 1.0) {
qreal otempo = tempomap()->tempo(cr->tick());
qreal ntempo = otempo / stretch;
setTempo(cr->tick(), ntempo);
Expand Down

0 comments on commit 8d38ad7

Please sign in to comment.