Copy state when replicating an AU plugin
This is only used for plugin-analysis, AU plugins are otherwise not replicated, and variable-i/o is used instead
This commit is contained in:
parent
4397ec9ce6
commit
2ee2b8481c
@ -498,6 +498,11 @@ AUPlugin::AUPlugin (const AUPlugin& other)
|
|||||||
|
|
||||||
{
|
{
|
||||||
init ();
|
init ();
|
||||||
|
|
||||||
|
XMLNode root (other.state_node_name ());
|
||||||
|
other.add_state (&root);
|
||||||
|
set_state (root, Stateful::loading_state_version);
|
||||||
|
|
||||||
for (size_t i = 0; i < descriptors.size(); ++i) {
|
for (size_t i = 0; i < descriptors.size(); ++i) {
|
||||||
set_parameter (i, other.get_parameter (i));
|
set_parameter (i, other.get_parameter (i));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user