mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-18 11:26:00 +01:00
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
This commit is contained in:
parent
33b4d64094
commit
aeedfc69c1
2 changed files with 7 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,6 +74,10 @@ Send::Send (const Send& other)
|
|||
}
|
||||
}
|
||||
|
||||
if (other.active()) {
|
||||
set_active (true, this);
|
||||
}
|
||||
|
||||
RedirectCreated (this); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue