summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/playlist.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-12-21 17:15:38 +0100
committerRobin Gareus <robin@gareus.org>2018-12-21 17:33:59 +0100
commitdf666326f70e7a167e06f7fd4de3a518a28f2445 (patch)
treef23f73d57dba11ce5af87df01ff9c257e2ceb9de /libs/ardour/ardour/playlist.h
parent19a2d384fc11348aaa17a0e398bf05750d9f8edd (diff)
Fix insert/remove time duplicate automation move -- #7712
Editor::insert_time(), Editor::remove_time() handle automation directly because time may be inserted to Routes without playlists and combined undo-operation with marker, and tempo-changes. However when the preference "automation_follows_regions" is enabled, the playlist already moves the automation of region under any region (possibly overriding future automation). This resulted in possibly lossy, duplicate automation moves.
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r--libs/ardour/ardour/playlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h
index 22e8e67552..0c5439f54c 100644
--- a/libs/ardour/ardour/playlist.h
+++ b/libs/ardour/ardour/playlist.h
@@ -421,6 +421,7 @@ private:
boost::shared_ptr<RegionList> find_regions_at (samplepos_t);
samplepos_t _end_space; //this is used when we are pasting a range with extra space at the end
+ bool _playlist_shift_active;
};
} /* namespace ARDOUR */