summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-04-01 01:24:13 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-04-01 01:24:13 +0000
commitc0c617902e03db2a75e8733dcc9982a575c2366a (patch)
tree6c415257fa82d2af9fad773565b36d95c076469e /gtk2_ardour
parent50dd880d7e75b49e7c80c79f32165a756839651c (diff)
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/processor_box.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index 6bdb7eaf2a..eedd7896bf 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -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);