From 32efb2443eb54c0947be6a1aa0ea1df2dab45361 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Wed, 23 Sep 2020 22:15:40 +1200 Subject: [PATCH] Don't store current CDN paths in Interface.json at present --- interface/src/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 88db77b314..2c5e09ed62 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -5574,6 +5574,9 @@ void Application::saveSettings() const { getMyAvatar()->saveData(); PluginManager::getInstance()->saveSettings(); + // Don't save external resource paths until such time as there's UI to select or set alternatives. Otherwise new default + // values won't be used unless Interface.json entries are manually remove or Interface.json is deleted. + /* auto bucketEnum = QMetaEnum::fromType(); auto externalResource = ExternalResource::getInstance(); @@ -5585,6 +5588,7 @@ void Application::saveSettings() const { Setting::Handle url(setting, externalResource->getBase(bucket)); url.set(externalResource->getBase(bucket)); } + */ } bool Application::importEntities(const QString& urlOrFilename, const bool isObservable, const qint64 callerId) {