projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f02dd2
)
fix simple but fatal mistake in defining PBD::Controllable::Flags enums.
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 12 Jul 2016 12:20:46 +0000
(08:20 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 12 Jul 2016 12:34:35 +0000
(08:34 -0400)
This error caused the flags to be saved as an empty string, thus losing all state when the session is reloaded
libs/pbd/enums.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/enums.cc
b/libs/pbd/enums.cc
index afa156bb1e35b98cce6806c11a47581221506fbc..fbeed72c6b635d8cf95730f0afba1525cc463ec1 100644
(file)
--- a/
libs/pbd/enums.cc
+++ b/
libs/pbd/enums.cc
@@
-41,7
+41,7
@@
setup_libpbd_enums ()
REGISTER_CLASS_ENUM (Controllable, GainLike);
REGISTER_CLASS_ENUM (Controllable, RealTime);
REGISTER_CLASS_ENUM (Controllable, NotAutomatable);
- REGISTER (controllable_flags);
+ REGISTER
_BITS
(controllable_flags);
REGISTER_CLASS_ENUM (Controllable, InverseGroup);
REGISTER_CLASS_ENUM (Controllable, UseGroup);