summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 814f24c52a..15a3da8b8b 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -273,7 +273,7 @@ Region::Region (boost::shared_ptr<const Region> other)
/* override state that may have been incorrectly inherited from the other region
*/
- _position = 0;
+ _position = other->_position;
_locked = false;
_whole_file = false;
_hidden = false;
@@ -284,7 +284,8 @@ Region::Region (boost::shared_ptr<const Region> other)
_position_lock_style = other->_position_lock_style;
_first_edit = other->_first_edit;
- _start = 0; // It seems strange _start is not inherited here?
+ _start = other->_start;
+ _beat = other->_beat;
/* sync pos is relative to start of file. our start-in-file is now zero,
so set our sync position to whatever the the difference between