mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Small code cleanup and simplification
This commit is contained in:
parent
28605b5351
commit
6b5582deef
1 changed files with 1 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue