summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authorPavel Potocek <pavelpotocek@gmail.com>2016-03-11 18:03:21 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2016-03-30 07:24:31 -0400
commitad735690fe4eaba54d99357f1abcbba2fb70b693 (patch)
tree981b76cf87b6342cd5f013920826c0b46bed8eb6 /libs/ardour/region.cc
parentb752d576fa46c96bfe794dd751dc0355ddcb4c23 (diff)
Fix #5884: errors when using timestretch tool
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 5ff06e5076..3bd51e1f18 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -270,6 +270,7 @@ Region::Region (boost::shared_ptr<const Region> other)
_hidden = false;
use_sources (other->_sources);
+ set_master_sources (other->_master_sources);
_position_lock_style = other->_position_lock_style;
_first_edit = other->_first_edit;
@@ -329,6 +330,7 @@ Region::Region (boost::shared_ptr<const Region> other, frameoffset_t offset)
_hidden = false;
use_sources (other->_sources);
+ set_master_sources (other->_master_sources);
_start = other->_start + offset;