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

Issue 8857043: Flags cross-staff semi ties.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by MikeSol
Modified:
11 years ago
Reviewers:
Neil Puttock
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Flags cross-staff semi ties.

Patch Set 1 #

Patch Set 2 : Moves callback to Scheme #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
A input/regression/semi-tie-cross-staff.ly View 1 chunk +23 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 2 chunks +2 lines, -0 lines 0 comments Download
M scm/output-lib.scm View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Neil Puttock
Hi Mike, Generally LGTM, but since there's nothing in the code which requires C++ code ...
11 years ago (2013-04-19 12:40:43 UTC) #1
MikeSol
Moves callback to Scheme
11 years ago (2013-04-20 19:33:01 UTC) #2
MikeSol
11 years ago (2013-04-20 19:33:36 UTC) #3
On 2013/04/19 12:40:43, Neil Puttock wrote:
> Hi Mike,
> 
> Generally LGTM, but since there's nothing in the code which requires C++ code
I
> favour adding a callback to output-lib.scm:
> 
> (define-public (semi-tie::calc-cross-staff grob)
>   (let* ((note-head (ly:grob-object grob 'note-head))
>          (stem (ly:grob-object note-head 'stem)))
>     (and (ly:grob? stem)
>          (ly:grob-property stem 'cross-staff #f))))
> 
> BTW, this surprised me a bit while fiddling with the regression test:
> 
> <<
>  \new Staff = "up" \relative c' {
>  f8
>  \change Staff = "down"
>  c e\f %oops
>  \change Staff = "up"
>  f
>  }
>  \new Staff = "down" { \clef bass s2 }
> >>
> 
> Cheers,
> Neil

Thanks Neil!
I wonder why this is a problem in this test you're doing and not the
dynamics-avoid-cross-staff regtests...will investigate...

Cheers,
MS
Sign in to reply to this message.

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