Skip to content

Commit

Permalink
show barline at end of sequence of invisible measures
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Aug 5, 2015
1 parent 623f082 commit 51cf4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/segment.cpp
Expand Up @@ -1003,7 +1003,7 @@ void Segment::scanElements(void* data, void (*func)(void*, Element*), bool all)
if (e == 0) // if no element, skip
continue;
// if staff not visible
if (!all && !(measure()->visible(staffIdx) && _score->staff(staffIdx)->show())) {
if (!all && !(/*measure()->visible(staffIdx) && */_score->staff(staffIdx)->show())) {
// if bar line spans just this staff...
if (static_cast<BarLine*>(e)->span() <= 1
// ...or span another staff but without entering INTO it...
Expand Down

0 comments on commit 51cf4df

Please sign in to comment.