Skip to content

Commit

Permalink
fix #25703: wrong clef for 1.3 scores with odd clef change
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed May 12, 2014
1 parent d46f4aa commit 0f2695c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libmscore/measure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,9 @@ void Measure::read(XmlReader& e, int staffIdx)
clef->setTrack(e.track());
clef->read(e);
clef->setGenerated(false);
staff->setClef(e.tick(), clef->clefTypeList());
// in some 1.3 scores, clefs can be in score but not in cleflist
if (score()->mscVersion() > 114)
staff->setClef(e.tick(), clef->clefTypeList());

// there may be more than one clef segment for same tick position
if (!segment) {
Expand Down

0 comments on commit 0f2695c

Please sign in to comment.