diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc index 91ae757883..b71f9fa378 100644 --- a/libs/ardour/lxvst_plugin.cc +++ b/libs/ardour/lxvst_plugin.cc @@ -63,6 +63,8 @@ LXVSTPlugin::LXVSTPlugin (const LXVSTPlugin &other) other.add_state (root); set_state (*root, Stateful::loading_state_version); delete root; + + set_plugin (_state->plugin); } LXVSTPlugin::~LXVSTPlugin () diff --git a/libs/ardour/mac_vst_plugin.cc b/libs/ardour/mac_vst_plugin.cc index 2cb7301ce8..8fc87aaeec 100644 --- a/libs/ardour/mac_vst_plugin.cc +++ b/libs/ardour/mac_vst_plugin.cc @@ -63,6 +63,8 @@ MacVSTPlugin::MacVSTPlugin (const MacVSTPlugin &other) other.add_state (root); set_state (*root, Stateful::loading_state_version); delete root; + + set_plugin (_state->plugin); } MacVSTPlugin::~MacVSTPlugin () diff --git a/libs/ardour/windows_vst_plugin.cc b/libs/ardour/windows_vst_plugin.cc index 256d7f89a8..53bfee05e8 100644 --- a/libs/ardour/windows_vst_plugin.cc +++ b/libs/ardour/windows_vst_plugin.cc @@ -62,6 +62,8 @@ WindowsVSTPlugin::WindowsVSTPlugin (const WindowsVSTPlugin &other) other.add_state (root); set_state (*root, Stateful::loading_state_version); delete root; + + set_plugin (_state->plugin); } WindowsVSTPlugin::~WindowsVSTPlugin ()