X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmensural-ligature-engraver.cc;h=ac1eb1f10af267f215b2385e723ff0ab361bf071;hb=097d025f0bc9069b746841f739829dac4aff6f4a;hp=7d4794434d510250c0259cef83d13b3db7929bb5;hpb=d2762a4f1add2bb04d6fc34d3c7ae03eeb7d500f;p=lilypond.git diff --git a/lily/mensural-ligature-engraver.cc b/lily/mensural-ligature-engraver.cc index 7d4794434d..ac1eb1f10a 100644 --- a/lily/mensural-ligature-engraver.cc +++ b/lily/mensural-ligature-engraver.cc @@ -129,7 +129,7 @@ Mensural_ligature_engraver::transform_heads (vector const &primitives continue; } - int pitch = Pitch::unsmob (nr->get_property ("pitch"))->steps (); + int pitch = unsmob (nr->get_property ("pitch"))->steps (); int prim = 0; if (at_beginning) @@ -182,7 +182,7 @@ Mensural_ligature_engraver::transform_heads (vector const &primitives } // b. descendens longa or brevis else if (i < s - 1 - && (Pitch::unsmob (primitives[i + 1].event_cause () + && (unsmob (primitives[i + 1].event_cause () ->get_property ("pitch"))->steps () < pitch) && duration_log > -3) { @@ -275,7 +275,7 @@ Mensural_ligature_engraver::transform_heads (vector const &primitives /* breve: check whether descending */ - int const next_pitch = Pitch::unsmob + int const next_pitch = unsmob (next_info.event_cause ()->get_property ("pitch"))->steps (); if (next_pitch < pitch) /*