Fix tempo-map backward compatibility

Moving forward tempo-type is saved without `Tempo::`
prefix again.
This commit is contained in:
Robin Gareus 2023-07-17 00:35:05 +02:00
parent b61f84e872
commit 8a371bcaa2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -57,9 +57,12 @@ setup_libtemporal_enums ()
REGISTER(_OverlapType);
REGISTER_ENUM (Tempo::Ramped);
REGISTER_ENUM (Tempo::Constant);
REGISTER_CLASS_ENUM (Tempo, Ramped);
REGISTER_CLASS_ENUM (Tempo, Constant);
REGISTER (_TempoType);
enum_writer.add_to_hack_table ("Tempo::Ramped", "Ramped");
enum_writer.add_to_hack_table ("Tempo::Constant", "Constant");
}
void Temporal::init ()