]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/drum-note-engraver.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / drum-note-engraver.cc
index 059c72190da397682ffc98bc0a9fd3b3564cefa0..1b95c519ad29b2e8d5c7d99e6799d251e617b468 100644 (file)
@@ -1,7 +1,7 @@
 /*
   drum-note-engraver.cc
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include <cctype>
@@ -103,14 +103,9 @@ Drum_notes_engraver::process_music ()
          if (scm_is_string (script))
            {
              Item *p = make_item ("Script", ev->self_scm ());
-             bool follow;
-             make_script_from_event (p, &follow,
-                                     context (), script,
+             make_script_from_event (p, context (), script,
                                      0);
 
-             if (p->get_property ("follow-into-staff"))
-               p->set_property ("staff-padding", SCM_EOL);
-
              p->set_parent (note, Y_AXIS);
              Side_position_interface::add_support (p, note);
              scripts_.push (p);
@@ -134,6 +129,7 @@ Drum_notes_engraver::acknowledge_stem (Grob_info inf)
       Side_position_interface::add_support (e, inf.grob ());
     }
 }
+
 void
 Drum_notes_engraver::acknowledge_note_column (Grob_info inf)
 {