diff --git a/src/Application/SettingsLoader.cpp b/src/Application/SettingsLoader.cpp index 4466a52..cd84684 100644 --- a/src/Application/SettingsLoader.cpp +++ b/src/Application/SettingsLoader.cpp @@ -12,6 +12,10 @@ SettingsLoader * SettingsLoader::instance(){ return _instance; } +SettingsLoader::SettingsLoader(){ + _lastLoadedFilename = "surfaces.xml"; +} + bool SettingsLoader::load(SurfaceStack & surfaces, MediaServer & mediaServer, string fileName){ ofxXmlSettings * xmlSettings = new ofxXmlSettings(); diff --git a/src/Application/SettingsLoader.h b/src/Application/SettingsLoader.h index a39e087..0e60ed3 100644 --- a/src/Application/SettingsLoader.h +++ b/src/Application/SettingsLoader.h @@ -21,6 +21,8 @@ class SettingsLoader { private: static SettingsLoader * _instance; + + SettingsLoader(); BaseSurface * getTriangleSurface(ofxXmlSettings * xmlSettings); BaseSurface * getQuadSurface(ofxXmlSettings * xmlSettings);