fix region fade/env XML save - fixes #5353
authorRobin Gareus <robin@gareus.org>
Sun, 3 Mar 2013 08:26:46 +0000 (08:26 +0000)
committerRobin Gareus <robin@gareus.org>
Sun, 3 Mar 2013 08:26:46 +0000 (08:26 +0000)
commitdbe00236ff5cfce8f539cf84a6d34b353542dfff
tree7bc2ad3a65ef653e906ccecc83059507dedacfbc
parent4203d59bbb2912a7f0c05fee87005fce2b8fc634
fix region fade/env XML save - fixes #5353

In rev 12740 FadeIn/Out became stateful properties which are automatically
saved when Region:state() calls Stateful::add_properties().

AudioRegion::state() called Region:state() AND Stateful::add_properties()
which added a 2nd redundant copy to the XML.

Finally AudioRegion::state() adds custom serialization for Fades.
Furthermore this custom serialization also used names which did not
match the Property name.

git-svn-id: svn://localhost/ardour2/branches/3.0@14117 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/audioregion.cc
libs/ardour/region.cc
libs/ardour/session_state.cc