13
0

possible fix for off-by-one issue with MIDI binding maps etc.

This commit is contained in:
Paul Davis 2016-07-09 18:19:27 -04:00
parent 1f3e49e8ee
commit 7c13a16589

View File

@ -133,6 +133,8 @@ ControllableDescriptor::set (const std::string& str)
} else { } else {
return -1; return -1;
} }
_presentation_order -= 1; /* order is zero-based, but maps use 1-based */
} }
if (path[1] == "gain") { if (path[1] == "gain") {