From 0989209cf0cb23ab073988fd49ae8ca59e6219ad Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 2 Apr 2016 14:03:23 +0200 Subject: [PATCH] set processor owner early on (when loading session) --- libs/ardour/route.cc | 2 ++ 1 file changed, 2 insertions(+) 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 pi = boost::dynamic_pointer_cast(processor); pi->set_strict_io (true);