]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem.cc
* lily/stem.cc (calc_stem_info): Use get_direction_beam_count.
[lilypond.git] / lily / stem.cc
index 20c5bc79e8c6a60ff5fac58a2348f389db455084..2ed0f4fb784e996f51cdd523ea4612880fac5407 100644 (file)
@@ -804,7 +804,7 @@ Stem::calc_stem_info (Grob*me)
   Real half_space = staff_space / 2;
 
   Grob * beam = get_beam (me);
-  int beam_count = beam_multiplicity(me).length()+1;
+  int beam_count = Beam::get_direction_beam_count (beam, mydir);
   Real beam_translation= Beam::get_beam_translation (beam);
   Real thick = gh_scm2double (beam->get_grob_property ("thickness"));
   Real note_start = chord_start_y (me);