From ec376e079a0dc586ba3fe17113993525f2be69c2 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Thu, 1 Jul 2010 10:55:14 +0300 Subject: [PATCH] Fix cyclic dependence with rest-collisions. Previously, the height of a Note_column with a rest depended on the height of the rest, which invoked the rest-collision callback, which depended on the Note_column again. --- lily/rest-collision.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/rest-collision.cc b/lily/rest-collision.cc index 079030bc88..ee6935c7d8 100644 --- a/lily/rest-collision.cc +++ b/lily/rest-collision.cc @@ -211,7 +211,7 @@ Rest_collision::calc_positioning_done (SCM smob) Grob *rest = Note_column::get_rest (rcol); Grob *common = common_refpoint_of_array (notes, rcol, Y_AXIS); - Interval restdim = rcol->extent (common, Y_AXIS); + Interval restdim = rest->extent (common, Y_AXIS); if (restdim.is_empty ()) return SCM_BOOL_T; -- 2.39.2