From: fred Date: Wed, 27 Mar 2002 02:05:59 +0000 (+0000) Subject: lilypond-1.5.35 X-Git-Tag: release/1.5.59~307 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e8338029bb172b45daa111fc6e8c0d4ab420f83c;p=lilypond.git lilypond-1.5.35 --- diff --git a/lily/collision.cc b/lily/collision.cc index 2dea673021..07b681ee2a 100644 --- a/lily/collision.cc +++ b/lily/collision.cc @@ -108,7 +108,13 @@ check_meshing_chords (Grob*me, merge_possible = merge_possible && Rhythmic_head::balltype_i (nu_l) == Rhythmic_head::balltype_i (nd_l); - + + + /* + don't merge whole notes (or longer, like breve, longa, maxima) + */ + merge_possible = merge_possible && (Rhythmic_head::balltype_i (nu_l) > 0); + if (!to_boolean (me->get_grob_property ("merge-differently-dotted"))) merge_possible = merge_possible && Rhythmic_head::dot_count (nu_l) == Rhythmic_head::dot_count (nd_l); @@ -171,6 +177,7 @@ check_meshing_chords (Grob*me, shift_amount *= 0.4; else if (distant_half_collide || close_half_collide || full_collide) shift_amount *= 0.5; + /* we're meshing. */