[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugfix for issue 1630 (issue4490045)
From: |
n . puttock |
Subject: |
Re: Bugfix for issue 1630 (issue4490045) |
Date: |
Mon, 09 May 2011 19:20:25 +0000 |
http://codereview.appspot.com/4490045/diff/1/lily/completion-note-heads-engraver.cc
File lily/completion-note-heads-engraver.cc (right):
http://codereview.appspot.com/4490045/diff/1/lily/completion-note-heads-engraver.cc#newcode204
lily/completion-note-heads-engraver.cc:204:
event->set_property("autosplit-remainder", Moment(left_to_do_ -
note_dur.get_length ()).smobbed_copy ());
Wouldn't this work equally well as a boolean?
As far as I can see, the Tie_engraver only reads this property, checking
whether main_part_ is > 0, so this test could be done here instead,
e.g.,
if (Moment (left_to_do_ - note_dur.get_length)).main_part_)
event->set_property ("autosplit-remainder", SCM_BOOL_T);
(obviously this would mean renaming this property)
http://codereview.appspot.com/4490045/diff/1/lily/tie-engraver.cc
File lily/tie-engraver.cc (right):
http://codereview.appspot.com/4490045/diff/1/lily/tie-engraver.cc#newcode121
lily/tie-engraver.cc:121: Determines whether the end of an event was
created by
indent
http://codereview.appspot.com/4490045/diff/1/lily/tie-engraver.cc#newcode168
lily/tie-engraver.cc:168: Make a tie only if pitches are equal or if
event end was not generated by
indent
http://codereview.appspot.com/4490045/diff/1/lily/tie-engraver.cc#newcode172
lily/tie-engraver.cc:172: &&
(!Tie_engraver::has_autosplit_end(left_ev)))
indent
http://codereview.appspot.com/4490045/diff/1/lily/tie-engraver.cc#newcode261
lily/tie-engraver.cc:261: */
indent
http://codereview.appspot.com/4490045/diff/1/lily/tie-engraver.cc#newcode294
lily/tie-engraver.cc:294: &&
(!Tie_engraver::has_autosplit_end(left_ev)))
indent
space before (left_ev)
http://codereview.appspot.com/4490045/
- Bugfix for issue 1630 (issue4490045), lemniskata . bernoullego, 2011/05/07
- Re: Bugfix for issue 1630 (issue4490045), tdanielsmusic, 2011/05/08
- Re: Bugfix for issue 1630 (issue4490045),
n . puttock <=
- Re: Bugfix for issue 1630 (issue4490045), karin . hoethker, 2011/05/09
- Re: Bugfix for issue 1630 (issue4490045), karin . hoethker, 2011/05/26
- Re: Bugfix for issue 1630 (issue4490045), percival . music . ca, 2011/05/26
- Re: Bugfix for issue 1630 (issue4490045), lemniskata . bernoullego, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045), benko . pal, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045), Carl . D . Sorensen, 2011/05/29
- Re: Bugfix for issue 1630 (issue4490045), karin . hoethker, 2011/05/29