From d4b774e935da5530f1ec8ecd5fbe6b3f0c847969 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 28 Sep 2020 04:35:10 +0200 Subject: [PATCH] VST3: partially revert debcda25b40 implicit notifications to self --- libs/ardour/vst3_plugin.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index 70fe5a55e9..258bfb0eeb 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1226,6 +1226,16 @@ VST3PI::notify (Vst::IMessage* msg) */ (*i)->notify (msg); } + + FUnknownPtr componentCP (_component); + FUnknownPtr controllerCP (_controller); + if (componentCP) { + componentCP->notify (msg); + } + if (controllerCP) { + controllerCP->notify (msg); + } + return kResultTrue; }