Put copy-constructed crossfades at the position of their
authorCarl Hetherington <carl@carlh.net>
Tue, 27 Mar 2012 21:04:47 +0000 (21:04 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 27 Mar 2012 21:04:47 +0000 (21:04 +0000)
source crossfade; fixes #4793.

git-svn-id: svn://localhost/ardour2/branches/3.0@11763 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/crossfade.cc

index 902627933b149ee05111f4317885a1e88e084f7e..c687c60cd1a4341ae40c0c8436538da79e53eaab 100644 (file)
@@ -210,6 +210,7 @@ Crossfade::Crossfade (boost::shared_ptr<Crossfade> orig, boost::shared_ptr<Audio
        _anchor_point     = orig->_anchor_point;
        _follow_overlap   = orig->_follow_overlap;
        _fixed            = orig->_fixed;
+       _position         = orig->_position;
 
        _in = newin;
        _out = newout;