mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
-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
This commit is contained in:
parent
9e477babb3
commit
0f7af4ea51
109 changed files with 847 additions and 789 deletions
|
|
@ -472,7 +472,7 @@ String OS_Unix::get_data_dir() const {
|
|||
|
||||
if (has_environment("HOME")) {
|
||||
|
||||
bool use_godot = Globals::get_singleton()->get("application/use_shared_user_dir");
|
||||
bool use_godot = GlobalConfig::get_singleton()->get("application/use_shared_user_dir");
|
||||
if (use_godot)
|
||||
return get_environment("HOME")+"/.godot/app_userdata/"+an;
|
||||
else
|
||||
|
|
@ -480,7 +480,7 @@ String OS_Unix::get_data_dir() const {
|
|||
}
|
||||
}
|
||||
|
||||
return Globals::get_singleton()->get_resource_path();
|
||||
return GlobalConfig::get_singleton()->get_resource_path();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue