]> git.donarmstrong.com Git - lilypond.git/commit - lily/stem.cc
Fixes issue 1881: cyclic dependency in Stem #'Y-extent.
authorMike Solomon <mike@apollinemike.com>
Sat, 17 Sep 2011 11:45:34 +0000 (13:45 +0200)
committerMike Solomon <mike@apollinemike.com>
Sat, 17 Sep 2011 11:48:19 +0000 (13:48 +0200)
commit47f5cb2e80eca506ff4897b7628129597a60f5cb
tree6d8b44e7bded66a7f55edff1fc7e5c568ed82140
parent689ca8e732f71bcfc117211e4a980f22b13bc1ed
Fixes issue 1881: cyclic dependency in Stem #'Y-extent.

The fix does not trigger Y-extent calculations in Stem::set_stem_positions,
as this function may itself be called in a Y-extent calculation.  Now,
this function sets the begin position and the length, which are required
by Stem::height in order to report the Y-extent.
lily/stem.cc