You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
-Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
/*************************************************************************/
|
||||
#include "core_bind.h"
|
||||
|
||||
#include "core/global_config.h"
|
||||
#include "core/project_settings.h"
|
||||
#include "geometry.h"
|
||||
#include "io/file_access_compressed.h"
|
||||
#include "io/file_access_encrypted.h"
|
||||
@@ -106,7 +106,7 @@ PoolStringArray _ResourceLoader::get_dependencies(const String &p_path) {
|
||||
|
||||
bool _ResourceLoader::has(const String &p_path) {
|
||||
|
||||
String local_path = GlobalConfig::get_singleton()->localize_path(p_path);
|
||||
String local_path = ProjectSettings::get_singleton()->localize_path(p_path);
|
||||
return ResourceCache::has(local_path);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user