From b47350d1efb1128b2a8ea13f340dd5e3a53f0735 Mon Sep 17 00:00:00 2001 From: Keith OHara Date: Sat, 24 Aug 2013 14:06:57 -0700 Subject: [PATCH] Draw glissando to accidental, not accidental_placement; issue 40 --- lily/line-spanner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/line-spanner.cc b/lily/line-spanner.cc index 936a956008..6c5e627442 100644 --- a/lily/line-spanner.cc +++ b/lily/line-spanner.cc @@ -114,7 +114,7 @@ Line_spanner::calc_bound_info (SCM smob, Direction dir) ? Axis_group_interface::generic_bound_extent (bound_grob, commonx, X_AXIS) : robust_relative_extent (bound_grob, commonx, X_AXIS)).linear_combination (attach); - Grob *acc = Note_column::accidentals (bound_grob->get_parent (X_AXIS)); + Grob *acc = unsmob_grob (bound_grob->get_object ("accidental-grob")); if (acc && to_boolean (ly_assoc_get (ly_symbol2scm ("end-on-accidental"), details, SCM_BOOL_F))) x_coord = robust_relative_extent (acc, commonx, X_AXIS).linear_combination (attach); -- 2.39.2