diff options
author | Carl Hetherington <carl@carlh.net> | 2011-12-12 02:50:47 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-12-12 02:50:47 +0000 |
commit | a107b95307658af9f881e453362c1388ffac2463 (patch) | |
tree | ff6265584f3c57f84e94e23544d78751d0286ab6 /libs/ardour/region.cc | |
parent | 4dd7b9b34ca74342442dfb2490f7a7080fe03142 (diff) |
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
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r-- | libs/ardour/region.cc | 8 |
1 files changed, 8 insertions, 0 deletions
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 (); + } +} |