summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-09-27 06:53:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-09-27 06:53:34 +0000
commit86b747890e4284bae0fa9fb16847b71fa9e89498 (patch)
tree4f82c9da120cf401305a07973a8f67640e5e9e6d /libs
parentce693248dc297f1e1129da6b0e9b3ef627c72da1 (diff)
fix initialization of ancestral region info in region copy constructor (dup'ed from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@3815 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/region.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 8693b7df8e..7adc9b80ab 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -211,8 +211,8 @@ Region::Region (boost::shared_ptr<const Region> other)
, _layer(other->_layer)
, _first_edit(EditChangesID)
, _frozen(0)
- , _ancestral_start (_start)
- , _ancestral_length (_length)
+ , _ancestral_start (other->_ancestral_start)
+ , _ancestral_length (other->_ancestral_length)
, _stretch (1.0)
, _shift (0.0)
, _valid_transients(false)