X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=lily%2Fbeam.cc;h=b6b65d681dad5e44167db0deb56ed063cae22e60;hb=07d4d05df6479d58c3c5152c07d7c86b94ee98b4;hp=c063ddbd8e498c2ef51bc811bd1a7f6eb292de62;hpb=301b0906a670e7f7762df325f65d58d8c85f4067;p=lilypond.git diff --git a/lily/beam.cc b/lily/beam.cc index c063ddbd8e..b6b65d681d 100644 --- a/lily/beam.cc +++ b/lily/beam.cc @@ -49,9 +49,14 @@ void Beam::add_stem (Stem*s) { #if 0 + /* + should figure out why this didn't work. + + --hwn. + */ if (!stems_.size ()) { - dim_cache_[Y_AXIS]->parent_l_ = s->dim_cache_[Y_AXIS]; + set_parent (s, Y_AXIS); } #endif stems_.push (s); @@ -100,7 +105,7 @@ Beam::do_brew_molecule_p () const mol_p->add_molecule (sb); } mol_p->translate_axis (x0 - - spanned_drul_[LEFT]->absolute_coordinate (X_AXIS), X_AXIS); + - spanned_drul_[LEFT]->relative_coordinate (0, X_AXIS), X_AXIS); return mol_p; }