]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performer-group.cc
(do_announces): move recursion call out
[lilypond.git] / lily / performer-group.cc
index 64bd897f207ecd374e1e6759667d4e1517626f19..a1e164b7a809544ccf34c6cf3c42ea79d111cc1f 100644 (file)
@@ -62,6 +62,16 @@ performer_each (SCM list, Performer_method method)
 void
 Performer_group::do_announces ()
 {
+  for (SCM s = context ()->children_contexts ();
+       scm_is_pair (s); s = scm_cdr (s))
+    {
+      Context *c = unsmob_context (scm_car (s));
+      Performer_group *group
+       = dynamic_cast<Performer_group *> (c->implementation ());
+      if (group)
+       group->do_announces ();
+    }
+
   while (1)
     {
       performer_each (get_simple_trans_list (),