]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Fix slurs in grace notes
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 30 Jan 2009 18:43:21 +0000 (19:43 +0100)
committerPatrick McCarty <pnorcks@gmail.com>
Wed, 15 Jul 2009 23:16:40 +0000 (16:16 -0700)
scripts/musicxml2ly.py

index ac5bd787a5792881519a14bed87d555b0ea3585e..f6fcaa5cc1096ef5b2c164757addaaba0636494d 100644 (file)
@@ -2318,8 +2318,7 @@ def musicxml_voice_to_lily_voice (voice):
                 if len (endslurs) > 1:
                     endslurs[0].message (_ ('Cannot have two simultaneous (closing) slurs'))
                 # record the slur status for the next note in the loop
-                if not grace:
-                    inside_slur = False
+                inside_slur = False
                 lily_ev = musicxml_spanner_to_lily_event (endslurs[0])
                 ev_chord.append (lily_ev)
 
@@ -2331,8 +2330,7 @@ def musicxml_voice_to_lily_voice (voice):
                 if len (startslurs) > 1:
                     startslurs[0].message (_ ('Cannot have two simultaneous slurs'))
                 # record the slur status for the next note in the loop
-                if not grace:
-                    inside_slur = True
+                inside_slur = True
                 lily_ev = musicxml_spanner_to_lily_event (startslurs[0])
                 ev_chord.append (lily_ev)