mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
-Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
This commit is contained in:
parent
89588d4334
commit
25678b1876
162 changed files with 1296 additions and 831 deletions
|
|
@ -186,7 +186,7 @@ Ref<Texture> EditorPackedScenePreviewPlugin::generate(const RES &p_from) {
|
|||
Ref<Texture> EditorPackedScenePreviewPlugin::generate_from_path(const String &p_path) {
|
||||
|
||||
String temp_path = EditorSettings::get_singleton()->get_settings_path().plus_file("tmp");
|
||||
String cache_base = GlobalConfig::get_singleton()->globalize_path(p_path).md5_text();
|
||||
String cache_base = ProjectSettings::get_singleton()->globalize_path(p_path).md5_text();
|
||||
cache_base = temp_path.plus_file("resthumb-" + cache_base);
|
||||
|
||||
//does not have it, try to load a cached thumbnail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue