lilypond-devel
[Top][All Lists]
Advanced

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

Re: Potential fix for issue 37


From: Neil Puttock
Subject: Re: Potential fix for issue 37
Date: Fri, 7 Jan 2011 17:37:24 +0000

On 7 January 2011 16:14,  <address@hidden> wrote:
> I'm not exactly sure what the desired output would be for issue 37, but my 
> code assumes that if there are collision problems, flat beams look best.
>
> Lemme know what you think!

Looks interesting, though you need to do a regression test check to
make sure there are no side-effects.

\relative c' {
  c8 d e f
}

This crashes, since the following line

+  if (scm_to_bool (me->get_object ("collides")))

returns a `Wrong type' error for the default case (since 'collides
will return '()).  Use to_boolean () instead (and get_property
()/set_property ()).

Cheers,
Neil



reply via email to

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