Reviewers: ,
Message:
Please have a look at this.
I'll update issue tracker manually since I haven't got project
authorization (yet).
Thanks a lot
Torsten
Description:
issue #3653: Beam ends not matched to StaffSymbol thickness
file: lily/beam.cc
function: Beam::calc_beam_segments
Tiny flaw in C++ coding: stave line thickness lt accidentally taken from
layout line thickness rather than from acutal StaffSymbol line thickness
Please review this at https://codereview.appspot.com/339210043/
Affected files (+1, -1 lines):
M lily/beam.cc
Index: lily/beam.cc
diff --git a/lily/beam.cc b/lily/beam.cc
index
a50f2904bc0b00e4a497c16c908b13cabf38d96b..dff62168af0f10a6c8d95dd4048cab42743b8dfa
100644
--- a/lily/beam.cc
+++ b/lily/beam.cc
@@ -371,7 +371,7 @@ Beam::calc_beam_segments (SCM smob)
Real gap_length = robust_scm2double (me->get_property ("gap"), 0.0);
Position_stem_segments_map stem_segments;
- Real lt = me->layout ()->get_dimension (ly_symbol2scm
("line-thickness"));
+ Real lt = Staff_symbol_referencer::line_thickness (me);
/* There are two concepts of "rank" that are used in the following code.
The beam_rank is the vertical position of the beam (larger numbers are
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel