Try to ensure that the plugin loads its initial preset correctly. May fix #3602.
git-svn-id: svn://localhost/ardour2/branches/3.0@8356 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e794d842d6
commit
731bef6c17
@ -237,7 +237,7 @@ VSTPlugin::set_state (const XMLNode& node, int version)
|
|||||||
const XMLProperty* prop;
|
const XMLProperty* prop;
|
||||||
|
|
||||||
if ((prop = node.property ("current-program")) != 0) {
|
if ((prop = node.property ("current-program")) != 0) {
|
||||||
_fst->current_program = atoi (prop->value().c_str());
|
_fst->want_program = atoi (prop->value().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
XMLNode* child;
|
XMLNode* child;
|
||||||
|
Loading…
Reference in New Issue
Block a user