summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-05 09:16:00 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-05 09:16:00 -0300
commit0f7af4ea51744cda23c4d3c7481f9c332973d1d4 (patch)
tree27b8914062558b5648655ccf3db13251d217af98 /bin
parent9e477babb3bf0ce5179395c2a5155a3f3cd36798 (diff)
-Changed most project settings in the engine, so they have major and minor categories.
-Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
Diffstat (limited to 'bin')
-rw-r--r--bin/tests/test_io.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/tests/test_io.cpp b/bin/tests/test_io.cpp
index a8e8d7d0fd..42664e73cd 100644
--- a/bin/tests/test_io.cpp
+++ b/bin/tests/test_io.cpp
@@ -101,10 +101,10 @@ MainLoop* test() {
ResourceSaver::save("test_data/rock.xml",texture);
print_line("localize paths");
- print_line(Globals::get_singleton()->localize_path("algo.xml"));
- print_line(Globals::get_singleton()->localize_path("c:\\windows\\algo.xml"));
- print_line(Globals::get_singleton()->localize_path(Globals::get_singleton()->get_resource_path()+"/something/something.xml"));
- print_line(Globals::get_singleton()->localize_path("somedir/algo.xml"));
+ print_line(GlobalConfig::get_singleton()->localize_path("algo.xml"));
+ print_line(GlobalConfig::get_singleton()->localize_path("c:\\windows\\algo.xml"));
+ print_line(GlobalConfig::get_singleton()->localize_path(GlobalConfig::get_singleton()->get_resource_path()+"/something/something.xml"));
+ print_line(GlobalConfig::get_singleton()->localize_path("somedir/algo.xml"));
{