]> git.donarmstrong.com Git - lilypond.git/commitdiff
only complain of note-less arpeggios for non-transparent arpeggios
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 8 Dec 2006 18:11:58 +0000 (19:11 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 8 Dec 2006 18:11:58 +0000 (19:11 +0100)
lily/arpeggio.cc

index 76fd30ad8ff28f6f60442215de458edeb109616b..d9e9e80636854617517438444c42014b8ccad75b 100644 (file)
@@ -58,8 +58,11 @@ Arpeggio::print (SCM smob)
 
   if (heads.is_empty () || heads.length () < 0.5)
     {
-      programming_error ("no heads for arpeggio found?");
-      me->suicide ();
+      if (!to_boolean (me->get_property ("transparent")))
+       {
+         me->warning ("no heads for arpeggio found?");
+         me->suicide ();
+       }
       return SCM_EOL;
     }