From cd1d83f36626199671b51510e8e6039cf641fc06 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 5 Oct 2023 11:22:38 -0600 Subject: [PATCH] reintroduce a fake XML "active" property for Tempo to allow 7.x to load 8.x sessions --- libs/temporal/tempo.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index faffe680c3..1bf754504b 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -145,6 +145,14 @@ Tempo::get_state () const node->set_property (X_("locked-to-meter"), _locked_to_meter); node->set_property (X_("continuing"), _continuing); + /* We don't have an _active property any more, but earlier versions of + Ardour will crash during session loading if this property is not + provided. For the 7.5 - 8.0 transition, there was theoretically no + file format change, so leave this in place till at least the next + format version change. + */ + node->set_property (X_("active"), true); + return *node; }