From 0f7af4ea51744cda23c4d3c7481f9c332973d1d4 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 5 Jan 2017 09:16:00 -0300 Subject: -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 --- bin/tests/test_io.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/tests/test_io.cpp') diff --git a/bin/tests/test_io.cpp b/bin/tests/test_io.cpp index a8e8d7d0f..42664e73c 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")); { -- cgit v1.2.3-70-g09d2