Use new XDG folders to dehardcode paths
This commit is contained in:
@ -198,7 +198,7 @@ void EditorResourcePreview::_thread() {
|
||||
|
||||
} else {
|
||||
|
||||
String temp_path = EditorSettings::get_singleton()->get_settings_dir().plus_file("tmp");
|
||||
String temp_path = EditorSettings::get_singleton()->get_cache_dir();
|
||||
String cache_base = ProjectSettings::get_singleton()->globalize_path(item.path).md5_text();
|
||||
cache_base = temp_path.plus_file("resthumb-" + cache_base);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user