diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-29 01:09:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-29 01:09:05 +0000 |
commit | 3150041423a199189c9b6ab292a078c51d9670c2 (patch) | |
tree | a5a92d2fc568edb7743e8018ca05d5de0f09c486 /libs/ardour/audio_playlist.cc | |
parent | bce90b1802565f62288a5081929244d60e15a5bd (diff) |
(Hopefully) clarify operator= and copy construction behaviour of the Property hierarchy. Also make operator= copy the value but NOT the property ID; this stops e.g. a = b giving a the property ID of b and confusing things. Fixes some problems with save/restore of region sync position.
git-svn-id: svn://localhost/ardour2/branches/3.0@7707 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_playlist.cc')
-rw-r--r-- | libs/ardour/audio_playlist.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/audio_playlist.cc b/libs/ardour/audio_playlist.cc index 2ac3edff80..5019935d5d 100644 --- a/libs/ardour/audio_playlist.cc +++ b/libs/ardour/audio_playlist.cc @@ -57,6 +57,13 @@ CrossfadeListProperty::CrossfadeListProperty (AudioPlaylist& pl) } +CrossfadeListProperty::CrossfadeListProperty (CrossfadeListProperty const & p) + : PBD::SequenceProperty<std::list<boost::shared_ptr<Crossfade> > > (p) + , _playlist (p._playlist) +{ + +} + CrossfadeListProperty * CrossfadeListProperty::create () const |