13
0

improved fix for #7208, hopefully

This commit is contained in:
Paul Davis 2017-02-08 20:00:36 +01:00
parent f4cb567fdb
commit b911303fdd

View File

@ -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++;
}