From: Han-Wen Nienhuys Date: Mon, 8 Jan 2007 10:02:27 +0000 (+0100) Subject: Paper_column::print: Only display constraints which are used X-Git-Tag: release/2.11.10-1~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2582617c399acb1d19d4835f63006bcdb39bcbdc;p=lilypond.git Paper_column::print: Only display constraints which are used --- diff --git a/lily/paper-column.cc b/lily/paper-column.cc index e42a3417e2..0efdb01d2d 100644 --- a/lily/paper-column.cc +++ b/lily/paper-column.cc @@ -176,7 +176,10 @@ Paper_column::print (SCM p) scm_is_pair (s); s = scm_cdr (s)) { Spring_smob *sp = unsmob_spring (scm_car (s)); + if (!sp->other_->get_system ()) + continue; + j++; Real y = -j * 1 -3; vector pts; pts.push_back (Offset (0, y)); @@ -201,8 +204,13 @@ Paper_column::print (SCM p) scm_is_pair (s); s = scm_cdr (s)) { Real dist = scm_to_double (scm_cdar (s)); + Grob *other = unsmob_grob (scm_caar (s)); + if (!other || other->get_system () != me->get_system ()) + continue; - Real y = -j * 0.1 -3.5; + j++; + + Real y = -j * 1.0 -3.5; vector pts; pts.push_back (Offset (0, y));