This fixes an issue with Novation_BassStationII.midnam
duplicate assignments CC + NRPN.
} else {
_type = "7bit";
}
+ if (_type == "NRPN") {
+ return -1;
+ }
_number = string_to_int(tree, node.property("Number")->value());
_name = node.property("Name")->value();
i != node.children().end(); ++i) {
if ((*i)->name() == "Control") {
boost::shared_ptr<Control> control(new Control());
- control->set_state (tree, *(*i));
+ if (control->set_state (tree, *(*i))) {
+ continue;
+ }
if (_controls.find(control->number()) == _controls.end()) {
_controls.insert(make_pair(control->number(), control));
} else {