From: fred Date: Sun, 24 Mar 2002 19:30:40 +0000 (+0000) Subject: lilypond-0.0.28 X-Git-Tag: release/1.5.59~5452 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9b434152e7fe11d1245d7207f505f52c50b41c25;p=lilypond.git lilypond-0.0.28 --- diff --git a/src/stem.cc b/src/stem.cc index 2e0d55474e..fc5f9accb4 100644 --- a/src/stem.cc +++ b/src/stem.cc @@ -60,7 +60,7 @@ Stem::add(Notehead *n) if ( p> maxnote) maxnote = p; heads.push(n); - n->dependencies.push(this); + n->add_depedency(this); } @@ -72,11 +72,13 @@ Stem::get_default_dir() Real mean = (minnote+maxnote)/2; return (mean > staff_center) ? -1: 1; } + void Stem::set_default_dir() { dir = get_default_dir(); } + void Stem::set_default_stemlen() {