]> git.donarmstrong.com Git - lilypond.git/commitdiff
Stop EventChord iterator from replaying the "events" property.
authorDavid Kastrup <dak@gnu.org>
Wed, 8 Feb 2012 09:53:38 +0000 (10:53 +0100)
committerDavid Kastrup <dak@gnu.org>
Wed, 8 Feb 2012 17:08:39 +0000 (18:08 +0100)
It does not make sense for a music event to contain stream events, and
this feature appears to be completely unused in the code base.

lily/event-chord-iterator.cc

index 899287a99990036b4ccdf78a0c6638bd56254f40..b71a0ff563f0b80ebfc8869d21b4cb631d157e91 100644 (file)
@@ -49,12 +49,6 @@ Event_chord_iterator::process (Moment m)
           Music *mus = unsmob_music (scm_car (s));
           report_event (mus);
         }
-      for (SCM s = get_music ()->get_property ("events");
-           scm_is_pair (s); s = scm_cdr (s))
-        {
-          Stream_event *ev = unsmob_stream_event (scm_car (s));
-          get_outlet ()->event_source ()->broadcast (ev);
-        }
     }
   Simple_music_iterator::process (m);
 }