Small code cleanup and simplification
This commit is contained in:
parent
28605b5351
commit
6b5582deef
@ -1310,7 +1310,6 @@ RouteTimeAxisView::find_next_region_boundary (timepos_t const & pos, int32_t dir
|
|||||||
void
|
void
|
||||||
RouteTimeAxisView::fade_range (TimeSelection& selection)
|
RouteTimeAxisView::fade_range (TimeSelection& selection)
|
||||||
{
|
{
|
||||||
std::shared_ptr<Playlist> what_we_got;
|
|
||||||
std::shared_ptr<Track> tr = track ();
|
std::shared_ptr<Track> tr = track ();
|
||||||
std::shared_ptr<Playlist> playlist;
|
std::shared_ptr<Playlist> playlist;
|
||||||
|
|
||||||
@ -1328,11 +1327,7 @@ RouteTimeAxisView::fade_range (TimeSelection& selection)
|
|||||||
|
|
||||||
playlist->fade_range (time);
|
playlist->fade_range (time);
|
||||||
|
|
||||||
vector<Command*> cmds;
|
playlist->rdiff_and_add_command (_session);
|
||||||
playlist->rdiff (cmds);
|
|
||||||
_session->add_commands (cmds);
|
|
||||||
_session->add_command (new StatefulDiffCommand (playlist));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user