From 21f723292cdb8154f0255494360c25d48422dff6 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 20 Dec 2006 11:56:39 +0100 Subject: [PATCH] copy 'direction from tie-cause to tie. Fixes #139. --- lily/tie-engraver.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lily/tie-engraver.cc b/lily/tie-engraver.cc index ed46d59a77..af3c5a4ad6 100644 --- a/lily/tie-engraver.cc +++ b/lily/tie-engraver.cc @@ -135,6 +135,13 @@ Tie_engraver::acknowledge_note_head (Grob_info i) Tie::set_head (p, LEFT, th); Tie::set_head (p, RIGHT, h); + + if (is_direction (unsmob_stream_event (cause)->get_property ("direction"))) + { + Direction d = to_dir (unsmob_stream_event (cause)->get_property ("direction")); + p->set_property ("direction", scm_from_int (d)); + } + ties_.push_back (p); heads_to_tie_.erase (heads_to_tie_.begin () + i); } -- 2.39.5