projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f3e49e
)
possible fix for off-by-one issue with MIDI binding maps etc.
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 9 Jul 2016 22:19:27 +0000
(18:19 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 9 Jul 2016 22:19:27 +0000
(18:19 -0400)
libs/ardour/controllable_descriptor.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/controllable_descriptor.cc
b/libs/ardour/controllable_descriptor.cc
index f617468211728e7f713697eb6605d2c680d2c844..fff8b0050be365d926e8dcc5ae0fbacc10201e93 100644
(file)
--- a/
libs/ardour/controllable_descriptor.cc
+++ b/
libs/ardour/controllable_descriptor.cc
@@
-133,6
+133,8
@@
ControllableDescriptor::set (const std::string& str)
} else {
return -1;
}
+
+ _presentation_order -= 1; /* order is zero-based, but maps use 1-based */
}
if (path[1] == "gain") {