projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f280e2
)
save state of an automation list, even if empty, because it might exist in the histor...
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 9 Jan 2017 14:07:15 +0000
(14:07 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 9 Jan 2017 15:01:55 +0000
(15:01 +0000)
libs/ardour/automatable.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/automatable.cc
b/libs/ardour/automatable.cc
index 99c949fdcbbd2c7c54950c5fa34408160e50e600..7ad930f60b510284823cd85c78cd6f53b1d73bf0 100644
(file)
--- a/
libs/ardour/automatable.cc
+++ b/
libs/ardour/automatable.cc
@@
-280,7
+280,7
@@
Automatable::get_automation_xml_state ()
for (Controls::iterator li = controls().begin(); li != controls().end(); ++li) {
boost::shared_ptr<AutomationList> l = boost::dynamic_pointer_cast<AutomationList>(li->second->list());
- if (l
&& !l->empty()
) {
+ if (l) {
node->add_child_nocopy (l->get_state ());
}
}