]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-performer.cc
* lily/include/grob-info.hh: origin_contexts() now does not
[lilypond.git] / lily / staff-performer.cc
index 1c5e99f0665b887646b21b7b87c52d67d7de1731..f7ff09da207ca65914ae71699059e7358e4f7321 100644 (file)
@@ -12,6 +12,7 @@
 #include "audio-item.hh"
 #include "audio-staff.hh"
 #include "performer-group-performer.hh"
+#include "context.hh"
 
 /** Perform a staff. Individual notes should have their instrument
  (staff-wide) set, so we override play_element ()
@@ -64,7 +65,7 @@ Staff_performer::initialize ()
   audio_staff_ = new Audio_staff;
   announce_element (Audio_element_info (audio_staff_, 0));
 
-  name_ = new Audio_text (Audio_text::TRACK_NAME, id_string_);
+  name_ = new Audio_text (Audio_text::TRACK_NAME, daddy_context_->id_string_);
   announce_element (Audio_element_info (name_, 0));
 
   tempo_ = new Audio_tempo (get_tempo ());