From 9d0d6e428e3c19e5de088adb5aebf83091f99627 Mon Sep 17 00:00:00 2001 From: Clay Tercek Date: Fri, 1 Oct 2021 11:32:06 -0400 Subject: [PATCH] update template SettingsManager syntax --- templates/Bluecadet App/src/_TBOX_PREFIX_App.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/Bluecadet App/src/_TBOX_PREFIX_App.cpp b/templates/Bluecadet App/src/_TBOX_PREFIX_App.cpp index 108f2a6..5f97a16 100644 --- a/templates/Bluecadet App/src/_TBOX_PREFIX_App.cpp +++ b/templates/Bluecadet App/src/_TBOX_PREFIX_App.cpp @@ -27,9 +27,10 @@ void _TBOX_PREFIX_App::prepareSettings(ci::app::App::Settings *settings) { // SettingsManager::setInstance(myApp::MyAppSettingsManager::getInstance()); // Initialize the settings manager with the cinder app settings and the settings json - SettingsManager::getInstance()->setup( + SettingsManager::get()->setup( settings, ci::app::getAssetPath("settings.json"), + true, [](SettingsManager *manager) { // Optional: Override json defaults at runtime manager->mFullscreen = false;