diff options
| author | Rémi Verschelde | 2017-11-17 21:48:24 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-11-19 20:54:26 +0100 |
| commit | 6e3f2f44af808e9f4255c2462e16beee844c0df7 (patch) | |
| tree | bf2fa3600bbd29cd54c40fdc3fee85ce45903e96 /editor/plugins/editor_preview_plugins.cpp | |
| parent | 32c12a92a5633678921ee9e43f72eb3b59a635ed (diff) | |
| download | godot-6e3f2f44af808e9f4255c2462e16beee844c0df7.tar.gz godot-6e3f2f44af808e9f4255c2462e16beee844c0df7.tar.zst godot-6e3f2f44af808e9f4255c2462e16beee844c0df7.zip | |
Use new XDG folders to dehardcode paths
Diffstat (limited to 'editor/plugins/editor_preview_plugins.cpp')
| -rw-r--r-- | editor/plugins/editor_preview_plugins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/editor_preview_plugins.cpp b/editor/plugins/editor_preview_plugins.cpp index 2d0d155ba..ed04c90cc 100644 --- a/editor/plugins/editor_preview_plugins.cpp +++ b/editor/plugins/editor_preview_plugins.cpp @@ -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_dir().plus_file("tmp"); + String temp_path = EditorSettings::get_singleton()->get_cache_dir(); String cache_base = ProjectSettings::get_singleton()->globalize_path(p_path).md5_text(); cache_base = temp_path.plus_file("resthumb-" + cache_base); |
