]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.33
authorfred <fred>
Sun, 24 Mar 2002 20:03:25 +0000 (20:03 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:03:25 +0000 (20:03 +0000)
lily/beam.cc
lily/stem.cc

index a7cfd829cad95cd3f88a5041abf62363678aba6d..268499b1b0fa21b7898800b37846c42bc14a3796 100644 (file)
@@ -239,6 +239,9 @@ Beam::solve_slope()
 void
 Beam::set_stemlens()
 {
+  /* 
+     should check for visibility of stem..
+   */
   Real x0 = stems[0]->hpos_f();
   for (int j=0; j <stems.size(); j++)
     {
index 814eb6af83f0126b1584bb2f4d3661ac14d324a1..32a7b1ede378492e63232c32bb828d7dfd750533 100644 (file)
@@ -348,7 +348,7 @@ Real
 Stem::note_delta_f () const
 {
   Real r=0;
-  if (head_l_arr_.size())
+  if (head_l_arr_.size() && stem_xdir_ != CENTER)
     {
       Interval head_wid(0,  head_l_arr_[0]->width ().length ());
       Real rule_thick(paper ()->rule_thickness ());