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

Issue 4128059: Adds beam collision engraver (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by MikeSol
Modified:
13 years ago
Reviewers:
hanwen-google, mikesol, hanwenn
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Adds beam collision engraver Merge branch 'master' of git://git.sv.gnu.org/lilypond Merge branch 'master' of git://git.sv.gnu.org/lilypond Merge branch 'master' of git://git.sv.gnu.org/lilypond Conflicts: scm/define-grobs.scm Merge branch 'master' of git://git.sv.gnu.org/lilypond Merge branch 'master' of git://git.sv.gnu.org/lilypond foo

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -14 lines) Patch
M input/regression/lyrics-melisma-beam.ly View 2 chunks +5 lines, -4 lines 0 comments Download
M lily/beam.cc View 1 chunk +1 line, -0 lines 0 comments Download
A lily/beam-collision-engraver.cc View 1 chunk +175 lines, -0 lines 0 comments Download
M lily/separation-item.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ly/engraver-init.ly View 1 chunk +1 line, -0 lines 0 comments Download
M ly/gregorian.ly View 1 chunk +0 lines, -1 line 0 comments Download
M scm/define-grob-properties.scm View 1 chunk +2 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 10 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 5
hanwen-google
looks like this patch grew some erroneous edits from other commits.
13 years, 2 months ago (2011-02-07 14:30:07 UTC) #1
mikesol_ufl.edu
Yikes! Sorry... http://codereview.appspot.com/4080057 is the real deal. Cheers, MS On Feb 7, 2011, at 9:30 ...
13 years, 2 months ago (2011-02-07 14:43:47 UTC) #2
hanwenn
On Mon, Feb 7, 2011 at 12:43 PM, Mike Solomon <mikesol@ufl.edu> wrote: > Yikes! Sorry... ...
13 years, 2 months ago (2011-02-07 15:00:40 UTC) #3
mikesol_ufl.edu
On Feb 7, 2011, at 10:00 AM, Han-Wen Nienhuys wrote: > On Mon, Feb 7, ...
13 years, 2 months ago (2011-02-07 15:03:12 UTC) #4
hanwenn
13 years, 2 months ago (2011-02-07 15:08:33 UTC) #5
On Mon, Feb 7, 2011 at 1:03 PM, Mike Solomon <mikesol@ufl.edu> wrote:

> http://codereview.appspot.com/4080057 is the real deal.
>
>
> This still adds noteheads from the same voice as the beam.
>
>
> + for (vsize i=0; i < covered_grobs_.size (); i++) + for (vsize j=0; j <
> active_beams_.size (); j++) + { + bool my_beam = false; + if (Grob *stem =
> unsmob_grob (covered_grobs_.at (i)->get_object ("stem"))) + if (Grob *beam
> = unsmob_grob (stem->get_object ("beam"))) + if (beam == active_beams_.at
> (j)) + my_beam = true; + if (!my_beam) + Pointer_group_interface::add_grob
> (active_beams_.at (j), ly_symbol2scm ("covered-grobs"), covered_grobs_.at
> (i)); + }
>
> I thought that did the trick...am I missing something?
>

My bad; it does.  I was expecting code to look at the originating context in
acknowledge_note_head.



-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Sign in to reply to this message.

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