EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
This commit is contained in:
parent
73049d115e
commit
ad199c3964
19 changed files with 78 additions and 81 deletions
|
|
@ -184,7 +184,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 temp_path = EditorSettings::get_singleton()->get_settings_dir().plus_file("tmp");
|
||||
String cache_base = ProjectSettings::get_singleton()->globalize_path(p_path).md5_text();
|
||||
cache_base = temp_path.plus_file("resthumb-" + cache_base);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue