mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Revert incorrect region_length() definition.
This commit is contained in:
parent
68a8330afc
commit
c8303c8b7e
2 changed files with 3 additions and 3 deletions
|
|
@ -2800,7 +2800,7 @@ TrimDrag::motion (GdkEvent* event, bool first_move)
|
|||
if (arv) {
|
||||
boost::shared_ptr<AudioRegion> ar (arv->audio_region());
|
||||
framecnt_t len = ar->fade_out()->back()->when;
|
||||
framecnt_t diff = ar->last_frame() - i->initial_end;
|
||||
framecnt_t diff = 1 + ar->last_frame() - i->initial_end;
|
||||
framepos_t new_length = len + diff;
|
||||
i->anchored_fade_length = min (ar->length(), new_length);
|
||||
//i->anchored_fade_length = ar->verify_xfade_bounds (new_length, false /*END*/ );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue