]> git.donarmstrong.com Git - lilypond.git/commitdiff
(stop_translation_timestep): robustness for ambiti.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 28 Aug 2006 16:32:00 +0000 (16:32 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 28 Aug 2006 16:32:00 +0000 (16:32 +0000)
ChangeLog
lily/tie-engraver.cc

index dae968bb71843cc7cbce168d0874fa61bc2a5b1d..6d8ea29465b963720ab79ef19163d28cf209cdd0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-08-28  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
+       * lily/tie-engraver.cc (stop_translation_timestep): robustness for ambiti.
+
        * lily/all-font-metrics.cc: remove TFM support.
 
        * lily/include/tfm.hh: remove TFM support, TFM reader.
index a6204b035cc60f5a2f2183ab61046f0a3655cbeb..11f534cdec8af2d792dbb205b55127420a979a19 100644 (file)
@@ -190,6 +190,13 @@ Tie_engraver::stop_translation_timestep ()
       Stream_event *left_ev
        = unsmob_stream_event (head->get_property ("cause"));
 
+      if (!left_ev)
+       {
+         // may happen for ambituses
+         continue;
+       }
+           
+      
       SCM left_articulations = left_ev->get_property ("articulations");
 
       Music *tie_event = 0;