]> git.donarmstrong.com Git - lilypond.git/commitdiff
Draw glissando to accidental, not accidental_placement; issue 40
authorKeith OHara <k-ohara5a5a@oco.net>
Sat, 24 Aug 2013 21:06:57 +0000 (14:06 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Sun, 25 Aug 2013 03:24:58 +0000 (20:24 -0700)
lily/line-spanner.cc

index 936a95600842c922ffe04584142e08de059e8ffb..6c5e627442ce460650c66f5c20456248f98c4e57 100644 (file)
@@ -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);