Flush processor (re-activate) on route active change
[ardour.git] / libs / ardour / mac_vst_plugin.cc
index b8f82325c6b6131310e22441946db072a2c72a0f..34eea1352ea8bec4535464bf01d85b65b7b372df 100644 (file)
@@ -76,7 +76,7 @@ void
 MacVSTPlugin::open_plugin ()
 {
        VSTPlugin::open_plugin ();
-       _plugin->dispatcher (mac_vst->plugin, effCanDo, 0, 0, const_cast<char*> ("hasCockosViewAsConfig"), 0.0f);
+       _plugin->dispatcher (_plugin, effCanDo, 0, 0, const_cast<char*> ("hasCockosViewAsConfig"), 0.0f);
 }
 
 PluginPtr