Fix moving automation with region

This issue was introduced in
eae9d276fe
by using the incorrect new nutempo methods for the case at hand.
This commit is contained in:
Robin Gareus
2022-03-28 19:39:07 +02:00
parent 22220c215a
commit d841b13673

View File

@@ -499,7 +499,7 @@ Playlist::notify_region_removed (boost::shared_ptr<Region> r)
void
Playlist::notify_region_moved (boost::shared_ptr<Region> r)
{
Temporal::RangeMove move (r->nt_last (), r->length (), r->position ());
Temporal::RangeMove move (r->last_position (), r->last_length (), r->position ());
if (holding_state ()) {
pending_range_moves.push_back (move);