]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.61
authorfred <fred>
Tue, 26 Mar 2002 22:23:54 +0000 (22:23 +0000)
committerfred <fred>
Tue, 26 Mar 2002 22:23:54 +0000 (22:23 +0000)
lily/axis-group-engraver.cc

index e13dcdd5182aaf393ddb9e8fb18463778749514d..ad7e9784bb75aa90f5e17276cf6eb4b72392213c 100644 (file)
@@ -52,7 +52,9 @@ Axis_group_engraver::process_acknowledged ()
        staffline_p_->add_element (elts_[i]);
 
       /* UGH UGH UGH */
-      else if (elts_[i]->get_elt_property (ly_symbol ("Axis_group_element::add_extra_element")) == SCM_BOOL_F)
+      else if (elts_[i]->get_elt_property (ly_symbol ("Axis_group_element::add_extra_element")) == SCM_BOOL_F
+              && ! dynamic_cast<Axis_group_element*> (elts_[i]->parent_l (Y_AXIS)))
+              
        {
          staffline_p_->add_extra_element (elts_[i]);
        }