Skip to content

Commit

Permalink
add initial score creation tempo markings to all system object staves
Browse files Browse the repository at this point in the history
  • Loading branch information
asattely authored and RomanPudashkin committed Jan 12, 2023
1 parent f5af414 commit f2640a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/notation/internal/masternotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,12 @@ void MasterNotation::applyOptions(mu::engraving::MasterScore* score, const Score
tt->setFollowText(true);
tt->setTrack(0);
seg->add(tt);
for (auto staff : score->getSystemObjectStaves()) {
TempoText* linkedTt = toTempoText(tt->linkedClone());
linkedTt->setScore(score);
linkedTt->setTrack(staff->idx() * VOICES);
seg->add(linkedTt);
}
}

score->setUpTempoMap();
Expand Down

0 comments on commit f2640a0

Please sign in to comment.