From 4516de3c927716c78cb0a01c5c41a35b76092ec7 Mon Sep 17 00:00:00 2001 From: Matt Firth Date: Tue, 26 Jul 2022 17:34:28 +0100 Subject: [PATCH] Comment out unused orphan UID search We don't do anything with it. Intention was originally to import the assets in to the session anyway on to empty tracks. Currently out of scope for this PR. --- reaper-adm-extension/src/reaper_adm/admimporter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reaper-adm-extension/src/reaper_adm/admimporter.cpp b/reaper-adm-extension/src/reaper_adm/admimporter.cpp index 4d8d6bd00..aa99ad59c 100644 --- a/reaper-adm-extension/src/reaper_adm/admimporter.cpp +++ b/reaper-adm-extension/src/reaper_adm/admimporter.cpp @@ -177,7 +177,8 @@ void ADMImporter::parse() { programmes = std::vector>(admDoc->getElements().begin(), admDoc->getElements().end()); contents = getElementsIfNo(admDoc); objects = getElementsIfNo(admDoc); - uids = getElementsIfNo(admDoc); + // TODO - We don't do anything with this at the moment. Intention was to import in to session anyway but without an AudioObject plugin. + //uids = getElementsIfNo(admDoc); auto tracer = adm::detail::GenericRouteTracer(); sourceCreator = std::make_shared(std::make_unique(), std::make_unique(fileName), @@ -189,6 +190,7 @@ void ADMImporter::parse() { applyRoutes(programmes, tracer, *project); applyRoutes(contents, tracer, *project); applyRoutes(objects, tracer, *project); + //applyRoutes(uids, tracer, *project); } catch (std::runtime_error const& e) { broadcast.error(e); }