lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

issue #3653: Beam ends not matched to StaffSymbol thickness (issue 33921


From: torsten . haemmerle
Subject: issue #3653: Beam ends not matched to StaffSymbol thickness (issue 339210043 by address@hidden)
Date: Fri, 12 Jan 2018 01:06:16 -0800

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]