diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-25 14:09:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-25 14:09:29 +0000 |
commit | aeedfc69c16f4aef13fc7cbd20ea52d012af7b80 (patch) | |
tree | b324bfc498240812733b94aa116c4adca3f67343 /gtk2_ardour | |
parent | 33b4d64094008633bca74764af00a9a73eafc8af (diff) |
copy sends & plugins, not just plugins, when doing a mixer strip copy; copied sends use the other send's active status, so that copies of active sends are also active
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4256 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/redirect_box.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/redirect_box.cc b/gtk2_ardour/redirect_box.cc index 25fa0191ad..b6c5694dcf 100644 --- a/gtk2_ardour/redirect_box.cc +++ b/gtk2_ardour/redirect_box.cc @@ -810,8 +810,9 @@ RedirectBox::copy_redirects () } for (vector<boost::shared_ptr<Redirect> >::iterator i = to_be_copied.begin(); i != to_be_copied.end(); ++i) { - // Do not copy inserts or sends - if (boost::dynamic_pointer_cast<PluginInsert>((*i)) != 0) { + // Do not copy inserts + if ((boost::dynamic_pointer_cast<PluginInsert>((*i)) != 0) || + (boost::dynamic_pointer_cast<Send>((*i)) != 0)) { copies.push_back (Redirect::clone (*i)); } } |