From: fred Date: Sun, 24 Mar 2002 19:39:06 +0000 (+0000) Subject: lilypond-0.0.50 X-Git-Tag: release/1.5.59~4968 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=330c945a56a755d16c5ba2ed7f132b7d4f9caea3;p=lilypond.git lilypond-0.0.50 --- diff --git a/lily/stem-beam-reg.cc b/lily/stem-beam-reg.cc index 773f0ac1e0..50131835da 100644 --- a/lily/stem-beam-reg.cc +++ b/lily/stem-beam-reg.cc @@ -107,18 +107,19 @@ Stem_beam_register::acknowledge_element(Staff_elem_info info) if (!stem_p_) return; - if (info.elem_p_->name() == Notehead::static_name() && - stem_req_l_->duration() == info.req_l_->rhythmic()->duration()) - - stem_p_->add((Notehead*)info.elem_p_); + if (info.elem_l_->name() == Notehead::static_name() && + stem_req_l_->duration() == info.req_l_->rhythmic()->duration()){ + Notehead * n_l= (Notehead*)info.elem_l_; + if (!n_l->rest_b_) + stem_p_->add((Notehead*)info.elem_l_); + } } - void Stem_beam_register::pre_move_processing() { if (stem_p_) { if (default_dir_i_) - stem_p_->dir = default_dir_i_; + stem_p_->dir_i_ = default_dir_i_; typeset_element(stem_p_); stem_p_ = 0;