]> git.donarmstrong.com Git - lilypond.git/commitdiff
Don't barf on negative skips.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 8 Jan 2007 12:54:45 +0000 (13:54 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 8 Jan 2007 12:54:45 +0000 (13:54 +0100)
scripts/musicxml2ly.py

index 66774fa672ed0361ad85a6ada01e33975f8e7c56..431a43631cdb3a6680a214f27e539b08a49895a3 100644 (file)
@@ -264,7 +264,8 @@ class LilyPondVoiceBuilder:
         diff = moment - current_end
         
         if diff < Rational (0):
-            raise NegativeSkip(current_end, moment)
+            print 'Negative skip', diff
+            diff = Rational (0)
 
         if diff > Rational (0):
             skip = musicexp.SkipEvent()