From a107b95307658af9f881e453362c1388ffac2463 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 12 Dec 2011 02:50:47 +0000 Subject: Set up region BBT time when frame position changes, if the region is glued to BBT; fixes part of #4257. git-svn-id: svn://localhost/ardour2/branches/3.0@10986 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/region.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libs/ardour/region.cc') diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 43a4270501..d337cf6625 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -1685,3 +1685,11 @@ Region::is_compound () const { return max_source_level() > 0; } + +void +Region::post_set (const PropertyChange& pc) +{ + if (pc.contains (Properties::position)) { + recompute_position_from_lock_style (); + } +} -- cgit v1.2.3