]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beam-engraver.cc
Take invisible beams into account when beaming.
[lilypond.git] / lily / beam-engraver.cc
index 609b3798c106314d86b9effafef6f5fc218f93d6..111a8f9187198de1f55413ebf9bb42bbd7e6dbaf 100644 (file)
@@ -262,7 +262,8 @@ Beam_engraver::acknowledge_stem (Grob_info info)
                      scm_from_int (durlog));
   Moment stem_location = now - beam_start_mom_ + beam_start_location_;
   beam_info_->add_stem (stem_location,
-                       max (durlog- 2, 0));
+                       max (durlog- 2, 0),
+                       Stem::is_invisible (stem));
   Beam::add_stem (beam_, stem);
 }