MidiStretch stretch(*_session, request);
begin_reversible_command ("midi stretch");
stretch.run(regions.front()->region());
- playlist->clear_history ();
+ playlist->clear_changes ();
playlist->replace_region (regions.front()->region(), stretch.results[0],
regions.front()->region()->position());
_session->add_command (new StatefulDiffCommand (playlist));
in_command = true;
}
- playlist->clear_history ();
+ playlist->clear_changes ();
playlist->replace_region (region, new_region, region->position());
_session->add_command (new StatefulDiffCommand (playlist));
}