Skip to content

Commit

Permalink
slur playback for the whole staff
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Apr 5, 2014
1 parent 88d6be3 commit 1132f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/rendermidi.cpp
Expand Up @@ -696,7 +696,7 @@ void Score::createPlayEvents(Chord* chord)
int tick = chord->tick();
Slur* slur = 0;
for (auto sp : _spanner.map()) {
if (sp.second->type() != Element::SLUR || sp.second->track() != chord->track())
if (sp.second->type() != Element::SLUR || sp.second->staffIdx() != chord->staffIdx())
continue;
Slur* s = static_cast<Slur*>(sp.second);
if (tick >= s->tick() && tick < s->tick2()) {
Expand Down

0 comments on commit 1132f3d

Please sign in to comment.