]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/completion-note-heads-engraver.cc
* lily/include/grob-info.hh: origin_contexts() now does not
[lilypond.git] / lily / completion-note-heads-engraver.cc
index 93f3a60604dbd4970a46b9156f8d5974ed6aef89..bbe14d260d9f5f5c61cae30cd7d467f1eb807091 100644 (file)
@@ -17,6 +17,7 @@
 #include "warn.hh"
 #include "spanner.hh"
 #include "tie.hh"
+#include "global-context.hh"
 
 /*
 
@@ -181,7 +182,8 @@ Completion_heads_engraver::process_music ()
 
       Moment next = now;
       next.main_part_ += note_dur.get_length ();
-      top_engraver ()->add_moment_to_process (next);
+      
+      get_global_context ()->add_moment_to_process (next);
       do_nothing_until_ = next.main_part_;
     }