diff options
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 deffd11224..13dcdff326 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -1485,6 +1485,14 @@ Region::enclosed_equivalent (boost::shared_ptr<const Region> other) const } bool +Region::layer_and_time_equivalent (boost::shared_ptr<const Region> other) const +{ + return _layer == other->_layer && + _position == other->_position && + _length == other->_length; +} + +bool Region::exact_equivalent (boost::shared_ptr<const Region> other) const { return _start == other->_start && |