From: David Kastrup Date: Sat, 3 May 2014 08:38:18 +0000 (+0200) Subject: Issue 3913: KeyCancellation grobs should ignore cue clefs like KeySignature grobs do X-Git-Tag: release/2.19.6-1~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f0e09b4eb0e403b1083d2612cd843df298b8d5dd;p=lilypond.git Issue 3913: KeyCancellation grobs should ignore cue clefs like KeySignature grobs do For { \key f \major R1 \cueClef bass \key g \major R1 \cueClefUnset R1 \cueClef alto \key bes \major R1 } the cancellation signs for the key changes were erroneously placed in reference to the current cue clef rather than the main clef while the key signature itself was properly unimpressed. --- diff --git a/lily/key-engraver.cc b/lily/key-engraver.cc index 6e758f5728..57035089c4 100644 --- a/lily/key-engraver.cc +++ b/lily/key-engraver.cc @@ -106,7 +106,7 @@ Key_engraver::create_key (bool is_default) cancellation_->set_property ("alteration-alist", restore); cancellation_->set_property ("c0-position", - get_property ("middleCPosition")); + get_property ("middleCClefPosition")); } }