diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-09 21:34:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-09 21:34:46 +0000 |
commit | 5c23faaa0d86b2d1b18d4f03565bad55c410fb7a (patch) | |
tree | 673cafb6a98854a4683110e4e89449103403e3cf /libs/ardour/ardour/region.h | |
parent | 7d4e03e28e58a9315f163738f35559f57b099d37 (diff) |
Allow trim of midi regions to before the start of the source (better, this time). Fixes #3156.
git-svn-id: svn://localhost/ardour2/branches/3.0@8229 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r-- | libs/ardour/ardour/region.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h index 3ad61919b1..ed4923bc40 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -315,6 +315,10 @@ class Region /** Constructor for derived types only */ Region (Session& s, framepos_t start, framecnt_t length, const std::string& name, DataType); + virtual bool can_trim_start_before_source_start () const { + return false; + } + protected: void send_change (const PBD::PropertyChange&); void mid_thaw (const PBD::PropertyChange&); |