From a44a244cbae6982dee0680a5055a90562a3b3dfd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 9 Feb 2009 21:31:16 +0000 Subject: [PATCH] Fix fade outs on split regions. git-svn-id: svn://localhost/ardour2/branches/3.0@4508 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audioregion.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 5b31aa44ff..8ee5324674 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -133,8 +133,8 @@ AudioRegion::AudioRegion (const SourceList& srcs, nframes_t start, nframes_t len AudioRegion::AudioRegion (boost::shared_ptr other, nframes_t offset, nframes_t length, const string& name, layer_t layer, Flag flags) : Region (other, offset, length, name, layer, flags) , _automatable(other->session()) - , _fade_in (new AutomationList(*other->_fade_in, offset, offset + length)) - , _fade_out (new AutomationList(*other->_fade_out, offset, offset + length)) + , _fade_in (new AutomationList(*other->_fade_in)) + , _fade_out (new AutomationList(*other->_fade_out)) , _envelope (new AutomationList(*other->_envelope, offset, offset + length)) { set > unique_srcs;