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.
Grob *rest = Note_column::get_rest (rcol);
Grob *common = common_refpoint_of_array (notes, rcol, Y_AXIS);
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;
if (restdim.is_empty ())
return SCM_BOOL_T;