summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-02 01:22:57 +0200
committerRobin Gareus <robin@gareus.org>2016-04-02 01:22:57 +0200
commitbd5da84928bcc2fa25ff248e78ee84d8fff1be70 (patch)
tree656042059f64e0ddfc0ae5083c7bb55e75cb54ad /libs/ardour/route.cc
parentaddf7a39fe73e15f54aa354b4f3e1decc56dc6a4 (diff)
reset pin-maps with custom config.
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 6519980b68..33b03e162f 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2443,6 +2443,7 @@ Route::customize_plugin_insert (boost::shared_ptr<Processor> proc, uint32_t coun
if (count == 0) {
pi->set_custom_cfg (false);
+ pi->reset_map ();
} else {
pi->set_custom_cfg (true);
pi->set_count (count);