Don't allow GMCP to override loading_state_version
- GMPC does not use it directly - when GMPC was enabled Stateful::loading_state_version was set to 1000 (the protocol is at 1.0.0) - it messes up session-loading, particularly various plugin states and templates (e.g Processor::set_state_2X was used)
This commit is contained in:
parent
345f38f1de
commit
ad6ddf70df
@ -746,13 +746,6 @@ GenericMidiControlProtocol::load_bindings (const string& xmlpath)
|
||||
|
||||
if ((prop = root->property ("version")) == 0) {
|
||||
return -1;
|
||||
} else {
|
||||
int major;
|
||||
int minor;
|
||||
int micro;
|
||||
|
||||
sscanf (prop->value().c_str(), "%d.%d.%d", &major, &minor, µ);
|
||||
Stateful::loading_state_version = (major * 1000) + minor;
|
||||
}
|
||||
|
||||
const XMLNodeList& children (root->children());
|
||||
|
Loading…
Reference in New Issue
Block a user