diff options
| author | Juan Linietsky | 2017-07-19 17:00:46 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-07-19 17:06:03 -0300 |
| commit | 25678b1876816b9ccb14b2c92aef62f3b009f88f (patch) | |
| tree | 189f082d788f78e16f620b056d21249118883fc5 /editor/plugins/editor_preview_plugins.cpp | |
| parent | 89588d43349e496a9e05756d42ae87323d31269e (diff) | |
| download | godot-25678b1876816b9ccb14b2c92aef62f3b009f88f.tar.gz godot-25678b1876816b9ccb14b2c92aef62f3b009f88f.tar.zst godot-25678b1876816b9ccb14b2c92aef62f3b009f88f.zip | |
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 7f8581535..ce6eefd69 100644 --- a/editor/plugins/editor_preview_plugins.cpp +++ b/editor/plugins/editor_preview_plugins.cpp @@ -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 |
