Skip to content

Commit

Permalink
update template SettingsManager syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
claytercek authored Oct 1, 2021
1 parent 5dea1cc commit 9d0d6e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/Bluecadet App/src/_TBOX_PREFIX_App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9d0d6e4

Please sign in to comment.