improved fix for #7208, hopefully
This commit is contained in:
parent
f4cb567fdb
commit
b911303fdd
@ -7085,11 +7085,14 @@ Editor::close_region_gaps ()
|
||||
|
||||
(*r)->region()->clear_changes ();
|
||||
(*r)->region()->trim_front( (position - pull_back_frames));
|
||||
|
||||
last_region->clear_changes ();
|
||||
last_region->trim_end( (position - pull_back_frames + crossfade_len));
|
||||
|
||||
_session->add_command (new StatefulDiffCommand ((*r)->region()));
|
||||
last_region = (*r)->region();
|
||||
_session->add_command (new StatefulDiffCommand (last_region));
|
||||
|
||||
last_region = (*r)->region();
|
||||
idx++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user