X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=lily%2Frest-collision.cc;h=38d393f16091b54ecc5dc577df2b9eb3966771f6;hb=59ed0cee2aae58a3f0483f21261c68aee406fa10;hp=c8f0d3e78982592ececb394f64abbbbe6e7d4d33;hpb=0d1109b28ecf554b7656e0018c0c9fbeec8258a8;p=lilypond.git diff --git a/lily/rest-collision.cc b/lily/rest-collision.cc index c8f0d3e789..38d393f160 100644 --- a/lily/rest-collision.cc +++ b/lily/rest-collision.cc @@ -53,14 +53,16 @@ Rest_collision::do_post_processing() int dir_i = rest_l_arr_[0]->dir_; int midpos = 4; -#if 1 // ugh int stem_length_i = 7 - 2; // ugh, Stem::stem_start vs Stem::stem_end int pos = (int)(stem_l->stem_end_f() - midpos) - dir_i * stem_length_i; -#else // nogo: stem_start not set for rests? + /* + nogo: stem_start not set for rests? int pos = (stem_l->stem_begin_f() - midpos) + dir_i * 2; -#endif + + WHY IS THIS STILL HERE? --hwn + */ rest_l_arr_[0]->translate_rests (pos); }