]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/collision-engraver.cc
Fix developers resources links
[lilypond.git] / lily / collision-engraver.cc
index 7f56435e81958c806e053171e3ec4793645d5465..7bff5a8cd4a9d0cebbfddb04d17ba89b7efb9c82 100644 (file)
@@ -3,13 +3,14 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "engraver.hh"
 #include "note-column.hh"
 #include "note-collision.hh"
 #include "axis-group-interface.hh"
+#include "item.hh"
 
 class Collision_engraver : public Engraver
 {
@@ -45,6 +46,9 @@ Collision_engraver::acknowledge_note_column (Grob_info i)
       if (Note_column::has_rests (i.grob ()) || i.grob ()->get_parent (X_AXIS))
        return;
 
+      if (to_boolean (i.grob ()->get_property ("ignore-collision")))
+       return;
+      
       note_columns_.push_back (i.grob ());
     }
 }