From: Reinhold Kainhofer Date: Tue, 28 Dec 2010 23:25:58 +0000 (+0100) Subject: Do not explicitly assign break-visibility to the OctavateEight, use a callback to... X-Git-Tag: release/2.13.45-1~2^2~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a60ccd6aacca994a56f2072320fcfc249f00f495;p=lilypond.git Do not explicitly assign break-visibility to the OctavateEight, use a callback to retrieve from clef --- diff --git a/lily/cue-clef-engraver.cc b/lily/cue-clef-engraver.cc index be4ddf44f7..44deb2a703 100644 --- a/lily/cue-clef-engraver.cc +++ b/lily/cue-clef-engraver.cc @@ -122,12 +122,6 @@ Cue_clef_engraver::create_octavate_eight (SCM oct) g->set_parent (clef_, Y_AXIS); g->set_parent (clef_, X_AXIS); g->set_property ("direction", scm_from_int (dir)); - - // Inherit the break-visibility from the clef! - SCM vis = clef_->get_property ("break-visibility"); - if (vis && g) - g->set_property ("break-visibility", vis); - octavate_ = g; } } @@ -207,11 +201,7 @@ Cue_clef_engraver::stop_translation_timestep () vis = get_property ("explicitCueClefVisibility"); if (vis) - { - clef_->set_property ("break-visibility", vis); - if (octavate_) - octavate_->set_property ("break-visibility", vis); - } + clef_->set_property ("break-visibility", vis); clef_ = 0; octavate_ = 0;