diff options
Diffstat (limited to 'editor/editor_folding.cpp')
-rw-r--r-- | editor/editor_folding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_folding.cpp b/editor/editor_folding.cpp index eec4438f96..011fe20564 100644 --- a/editor/editor_folding.cpp +++ b/editor/editor_folding.cpp @@ -165,7 +165,7 @@ void EditorFolding::load_scene_folding(Node *p_scene, const String &p_path) { } bool EditorFolding::has_folding_data(const String &p_path) { - String path = EditorSettings::get_singleton()->get_project_settings_dir(); + String file = p_path.get_file() + "-folding-" + p_path.md5_text() + ".cfg"; file = EditorSettings::get_singleton()->get_project_settings_dir().plus_file(file); return FileAccess::exists(file); |