]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Fix regression with piano staves
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 3 Sep 2007 15:09:30 +0000 (17:09 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 6 Sep 2007 14:20:53 +0000 (16:20 +0200)
In my cleanup I accidentally removed the Staff entry from the dict, which
caused all PianoStaff objects to not be detected (as it checked for the
Staff class, which was not generated whn marshalling the xml)

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
python/musicxml.py

index 8390671425c7d505bde2f92eab8ec5721c1658a0..86d3120958181424941a76a87223131b2600d352 100644 (file)
@@ -664,6 +664,7 @@ class_dict = {
        'pitch': Pitch,
        'rest': Rest,
        'slur': Slur,
+       'staff': Staff,
         'syllabic': Syllabic,
         'text': Text,
        'time-modification': Time_modification,