summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index d337cf6625..f761602ef6 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -596,8 +596,13 @@ Region::set_position (framepos_t pos)
void
Region::set_position_internal (framepos_t pos, bool allow_bbt_recompute)
{
+ /* We emit a change of Properties::position even if the position hasn't changed
+ (see Region::set_position), so we must always set this up so that
+ e.g. Playlist::notify_region_moved doesn't use an out-of-date last_position.
+ */
+ _last_position = _position;
+
if (_position != pos) {
- _last_position = _position;
_position = pos;
/* check that the new _position wouldn't make the current