Skip to content

Commit

Permalink
fix #23067: Notehead changed to Brevis in 1.3 score appears as cross
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Oct 7, 2013
1 parent 0bc17a9 commit b7ed237
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libmscore/note.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,10 @@ void Note::read(XmlReader& e)
else if (tag == "ghost")
setGhost(e.readInt());
else if (tag == "headType")
setProperty(P_HEAD_TYPE, Ms::getProperty(P_HEAD_TYPE, e));
if (score()->mscVersion() <= 114)
setProperty(P_HEAD_TYPE, Ms::getProperty(P_HEAD_TYPE, e).toInt() - 1);
else
setProperty(P_HEAD_TYPE, Ms::getProperty(P_HEAD_TYPE, e).toInt());
else if (tag == "veloType")
setProperty(P_VELO_TYPE, Ms::getProperty(P_VELO_TYPE, e));
else if (tag == "line")
Expand Down

0 comments on commit b7ed237

Please sign in to comment.