- Music * m = info.music_cause ();
- if (Bar_line::has_interface (info.grob_))
- custos_permitted = true;
- else if (Note_head::has_interface (info.grob_)
- && m
- && m->is_mus_type ("note-event"))
- {
-
- /*
- ideally, we'd do custos->set_parent (Y_AXIS, notehead),
- but since the note head lives on the other system, we can't
-
- So we copy the position from the note head pitch. We
- don't look at the staff-position, since we can't be sure
- whether Clef_engraver already applied a vertical shift.
- */
- pitches_.push (*unsmob_pitch (m->get_property ("pitch")));
- }
+
+ /*
+ ideally, we'd do custos->set_parent (Y_AXIS, notehead),
+ but since the note head lives on the other system, we can't
+
+ So we copy the position from the note head pitch. We
+ don't look at the staff-position, since we can't be sure
+ whether Clef_engraver already applied a vertical shift.
+ */
+ pitches_.push_back (*Pitch::unsmob (ev->get_property ("pitch")));