From 24efaa2992f6c534b938f0ad380bb5fc3787b81a Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 27 Feb 2015 11:25:23 -0600 Subject: [PATCH] likely fix for broken fades (imported from v2 sessions) --- libs/ardour/audioregion.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 1e556c97d0..1ea788880b 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -925,12 +925,12 @@ AudioRegion::_set_state (const XMLNode& node, int version, PropertyChange& what_ } } - } else if (child->name() == "InverseFadeIn") { + } else if ( (child->name() == "InverseFadeIn") || (child->name() == "InvFadeIn") ) { XMLNode* grandchild = child->child ("AutomationList"); if (grandchild) { _inverse_fade_in->set_state (*grandchild, version); } - } else if (child->name() == "InverseFadeOut") { + } else if ( (child->name() == "InverseFadeOut") || (child->name() == "InvFadeOut") ) { XMLNode* grandchild = child->child ("AutomationList"); if (grandchild) { _inverse_fade_out->set_state (*grandchild, version);