summaryrefslogtreecommitdiff
path: root/lily/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lily/beam.cc')
-rw-r--r--lily/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lily/beam.cc b/lily/beam.cc
index a20530c0f3..a50f2904bc 100644
--- a/lily/beam.cc
+++ b/lily/beam.cc
@@ -1280,7 +1280,7 @@ Beam::rest_collision_callback (SCM smob, SCM prev_offset)
Real offset = robust_scm2double (prev_offset, 0.0);
Interval rest_extent = rest->extent (rest, Y_AXIS);
- rest_extent.translate (offset + rest->get_parent (Y_AXIS)->relative_coordinate (common_y, Y_AXIS));
+ rest_extent.translate (offset + rest->parent_relative (common_y, Y_AXIS));
Real rest_dim = rest_extent[d];
Real minimum_distance