From aeedfc69c16f4aef13fc7cbd20ea52d012af7b80 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 25 Nov 2008 14:09:29 +0000 Subject: 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 --- gtk2_ardour/redirect_box.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour') 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 >::iterator i = to_be_copied.begin(); i != to_be_copied.end(); ++i) { - // Do not copy inserts or sends - if (boost::dynamic_pointer_cast((*i)) != 0) { + // Do not copy inserts + if ((boost::dynamic_pointer_cast((*i)) != 0) || + (boost::dynamic_pointer_cast((*i)) != 0)) { copies.push_back (Redirect::clone (*i)); } } -- cgit v1.2.3