projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faefa80
)
Fix state save of region fades. Fixes #3316.
author
Carl Hetherington
<carl@carlh.net>
Fri, 16 Jul 2010 19:37:58 +0000
(19:37 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Fri, 16 Jul 2010 19:37:58 +0000
(19:37 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7429
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/audioregion.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audioregion.cc
b/libs/ardour/audioregion.cc
index 6f349fed05b031a820ac94f52fbb23cee56b2552..8c66591fa771a0730b0e812854ab4351ce3b491a 100644
(file)
--- a/
libs/ardour/audioregion.cc
+++ b/
libs/ardour/audioregion.cc
@@
-550,6
+550,22
@@
AudioRegion::state ()
child->add_child_nocopy (_envelope->get_state ());
}
+ child = node.add_child (X_("FadeIn"));
+
+ if (_default_fade_in) {
+ child->add_property ("default", "yes");
+ } else {
+ child->add_child_nocopy (_fade_in->get_state ());
+ }
+
+ child = node.add_child (X_("FadeOut"));
+
+ if (_default_fade_out) {
+ child->add_property ("default", "yes");
+ } else {
+ child->add_child_nocopy (_fade_out->get_state ());
+ }
+
return node;
}