Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1591)

Issue 5043047: Gets first stem-info of a kneed-beam right (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by MikeSol
Modified:
12 years, 7 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Gets first stem-info of a kneed-beam right

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M lily/stem.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
MikeSol
Hey all, Cleaning up my work on broken beam slopes, I found this bug in ...
12 years, 7 months ago (2011-09-18 08:41:01 UTC) #1
Graham Percival (old account)
sounds reasonable to me
12 years, 7 months ago (2011-09-18 17:00:19 UTC) #2
hanwenn
On Sun, Sep 18, 2011 at 5:41 AM, <mtsolo@gmail.com> wrote: > Cleaning up my work ...
12 years, 7 months ago (2011-09-19 05:50:37 UTC) #3
mike_apollinemike.com
12 years, 7 months ago (2011-09-19 05:56:34 UTC) #4
On Sep 19, 2011, at 7:50 AM, Han-Wen Nienhuys wrote:

> On Sun, Sep 18, 2011 at 5:41 AM,  <mtsolo@gmail.com> wrote:
> 
>> Cleaning up my work on broken beam slopes, I found this bug in
>> calc_stem_info.  It is a one liner, but it has a pretty significant
>> impact on kneed beams.  The first stem info of all kneed beams is
>> currently being incorrectly calculated because it accessed the property
>> directly instead of using Beam::is_knee.  This fixes that problem.
>> 
>> I'd like to push it directly to current master, as it is a one liner,
>> passes regtests (it changes several files that were incorrect before),
>> and I can't move on with my work on the other patch until this is sorted
>> out.  I'm gonna hold off until I get some responses back, though, to
>> make sure that people are cool with this.
> 
> Shouldnt this just use a callback to calc is-knee ?
> 

Possible - I'm not really sure why a callback currently doesn't exist for kneed
beams.  It seems like Beam::is_knee could easily be turned into a callback.

Cheers,
MS

Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b