]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spacing-engraver.cc
Fix developers resources links
[lilypond.git] / lily / spacing-engraver.cc
index ad49a345b6de47eae4ed06cb6854e4003e899652..fae9a120c7b404d4511e27cb581d936b4d136724 100644 (file)
@@ -174,7 +174,7 @@ Spacing_engraver::add_starter_duration (Grob_info i)
       Stream_event *r = i.event_cause ();
       if (r && r->in_event_class ("rhythmic-event"))
        {
-         Moment len = get_event_length (r);
+         Moment len = get_event_length (r, now_);
          Rhythmic_tuple t (i, now_mom () + len);
          now_durations_.push_back (t);
        }
@@ -211,6 +211,7 @@ Spacing_engraver::stop_translation_timestep ()
       Stream_event *ev = playing_durations_[i].info_.event_cause ();
       if (ev)
        {
+         Moment now = now_mom ();
          Moment m = get_event_length (ev);
          shortest_playing = min (shortest_playing, m);
        }