You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +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:
@@ -139,10 +139,10 @@ String FileAccess::fix_path(const String& p_path) const {
|
||||
|
||||
case ACCESS_RESOURCES: {
|
||||
|
||||
if (Globals::get_singleton()) {
|
||||
if (GlobalConfig::get_singleton()) {
|
||||
if (r_path.begins_with("res://")) {
|
||||
|
||||
String resource_path = Globals::get_singleton()->get_resource_path();
|
||||
String resource_path = GlobalConfig::get_singleton()->get_resource_path();
|
||||
if (resource_path != "") {
|
||||
|
||||
return r_path.replace("res:/",resource_path);
|
||||
|
||||
Reference in New Issue
Block a user