summaryrefslogtreecommitdiff
path: root/editor/editor_folding.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-11 14:12:18 +0200
committerGitHub <noreply@github.com>2022-04-11 14:12:18 +0200
commit5613ac37d658820fd0e4c3162f24a3b68414d3f9 (patch)
tree533d5ed29331e94be8f6978fd98137844376d55b /editor/editor_folding.cpp
parent2ec68599a45231767bb970e7bf06a3bf7ed5fc91 (diff)
parent9381acb6a42da653cb6dfd9e610dfccead11aa98 (diff)
Merge pull request #59440 from bruvzg/fd_ref_counted
Diffstat (limited to 'editor/editor_folding.cpp')
-rw-r--r--editor/editor_folding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_folding.cpp b/editor/editor_folding.cpp
index 8d6ebd1154..548f05217e 100644
--- a/editor/editor_folding.cpp
+++ b/editor/editor_folding.cpp
@@ -131,7 +131,7 @@ void EditorFolding::_fill_folds(const Node *p_root, const Node *p_node, Array &p
void EditorFolding::save_scene_folding(const Node *p_scene, const String &p_path) {
ERR_FAIL_NULL(p_scene);
- FileAccessRef file_check = FileAccess::create(FileAccess::ACCESS_RESOURCES);
+ Ref<FileAccess> file_check = FileAccess::create(FileAccess::ACCESS_RESOURCES);
if (!file_check->file_exists(p_path)) { //This can happen when creating scene from FilesystemDock. It has path, but no file.
return;
}