mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
revisit setting up processors during route construction; remove several more XML-based constructors; don't put () parens around inactive plugin names (we have a checkbox); improve management of send, return and insert bitslot IDs; clean up Diskstream construction a bit more
git-svn-id: svn://localhost/ardour2/branches/3.0@6819 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
50dd880d7e
commit
c0c617902e
21 changed files with 268 additions and 481 deletions
|
|
@ -177,10 +177,6 @@ ProcessorEntry::name () const
|
|||
boost::shared_ptr<Send> send;
|
||||
string name_display;
|
||||
|
||||
if (!_processor->active()) {
|
||||
name_display = " (";
|
||||
}
|
||||
|
||||
if ((send = boost::dynamic_pointer_cast<Send> (_processor)) != 0 &&
|
||||
!boost::dynamic_pointer_cast<InternalSend>(_processor)) {
|
||||
|
||||
|
|
@ -214,10 +210,6 @@ ProcessorEntry::name () const
|
|||
|
||||
}
|
||||
|
||||
if (!_processor->active()) {
|
||||
name_display += ')';
|
||||
}
|
||||
|
||||
return name_display;
|
||||
}
|
||||
|
||||
|
|
@ -1332,7 +1324,8 @@ ProcessorBox::paste_processor_state (const XMLNodeList& nlist, boost::shared_ptr
|
|||
is a plugin.
|
||||
*/
|
||||
|
||||
p.reset (new PluginInsert (*_session, **niter));
|
||||
p.reset (new PluginInsert (*_session));
|
||||
p->set_state (**niter, Stateful::current_state_version);
|
||||
}
|
||||
|
||||
copies.push_back (p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue