bug-lilypond
[Top][All Lists]
Advanced

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

Issue 767 in lilypond: Harmonic collisions may break compiling


From: codesite-noreply
Subject: Issue 767 in lilypond: Harmonic collisions may break compiling
Date: Thu, 02 Apr 2009 21:55:03 +0000


Comment #2 on issue 767 by n.puttock: Harmonic collisions may break compiling
http://code.google.com/p/lilypond/issues/detail?id=767

Two workarounds, depending on whether you want dots on harmonics:

<<
{ r4 b''2. } \\
{ e'2.  } \\
{ <fis'\harmonic>2*3/2 }


<<
{ r4 b''2. } \\
{ e'2.  } \\
{ \set harmonicDots = ##t <fis'\harmonic>2. }


The note-collision-interface wants to move the dot to the right, but the
New_fingering_engraver has called suicide () on it, so trying to retrieve the dot-count fails by returning an empty list (which can't be converted to int).

The simplest fix seems to be to use robust_scm2int in Rhythmic_head::dot_count:

int
Rhythmic_head::dot_count (Grob *me)
{
  return get_dots (me)
    ? robust_scm2int (get_dots (me)->get_property ("dot-count"), 0) : 0;
}

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




reply via email to

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