Skip to content

Commit

Permalink
fix #64946
Browse files Browse the repository at this point in the history
  • Loading branch information
lvinken committed Jun 16, 2015
1 parent d9e3e4e commit 1c67878
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mscore/importmxmlpass2.cpp
Expand Up @@ -5264,7 +5264,8 @@ void MusicXMLParserPass2::notations(Note* note, ChordRest* cr, const int tick,
}
else if (_e.name() == "breath-mark") {
breath = 0;
_e.readNext();
_e.readElementText();
// TODO: handle value read (note: encoding unknown, only "comma" found)
}
else if (_e.name() == "caesura") {
breath = 3;
Expand Down
5 changes: 5 additions & 0 deletions mtest/musicxml/io/testNoteAttributes2.xml
Expand Up @@ -389,6 +389,11 @@
<voice>1</voice>
<type>quarter</type>
<stem>down</stem>
<notations>
<articulations>
<breath-mark>comma</breath-mark>
</articulations>
</notations>
</note>
</measure>
<measure number="7">
Expand Down
5 changes: 5 additions & 0 deletions mtest/musicxml/io/testNoteAttributes2_ref.xml
Expand Up @@ -384,6 +384,11 @@
<voice>1</voice>
<type>quarter</type>
<stem>down</stem>
<notations>
<articulations>
<breath-mark/>
</articulations>
</notations>
</note>
</measure>
<measure number="7">
Expand Down

0 comments on commit 1c67878

Please sign in to comment.