lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ties between voices


From: Aaron Hill
Subject: Re: Ties between voices
Date: Wed, 27 Jul 2022 02:22:41 -0700

On 2022-07-27 1:41 am, Thomas Morley wrote:
I stumbled across a certain condition. In tie-column::add_tie there is
(> (car (ly:grob-spanned-column-rank-interval tie-column)) (car (ly:grob-spanned-column-rank-interval tie-column)))
How could this ever be true?

Looks to be a transcription error.  The original C++ looks like this:

////
    if (!me->get_bound (LEFT)
      || (me->get_bound (LEFT)->get_column ()->get_rank ()
          > tie->get_bound (LEFT)->get_column ()->get_rank ()))
    {
      me->set_bound (LEFT, Tie::head (tie, LEFT));
      me->set_bound (RIGHT, Tie::head (tie, RIGHT));
    }
////

The relevant conditional check is regarding the "me" grob versus the "tie" grob.


-- Aaron Hill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]