diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-02 14:03:23 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-02 14:03:23 +0200 |
commit | 0989209cf0cb23ab073988fd49ae8ca59e6219ad (patch) | |
tree | e63a7ae8b7822a358ad260a7c810b0594338d00f /libs/ardour/route.cc | |
parent | f8d065d0306b0399e9f5a53771df3c90a872510d (diff) |
set processor owner early on (when loading session)
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 6519980b68..c0cbcf21dc 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1381,6 +1381,7 @@ Route::add_processor_from_xml_2X (const XMLNode& node, int version) processor.reset (new UnknownProcessor (_session, node)); } else { processor.reset (new PluginInsert (_session)); + processor->set_owner (this); } } else { @@ -3212,6 +3213,7 @@ Route::set_processor_state (const XMLNode& node) processor.reset (new UnknownProcessor (_session, **niter)); } else { processor.reset (new PluginInsert (_session)); + processor->set_owner (this); if (_strict_io) { boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert>(processor); pi->set_strict_io (true); |