From d80b9887dd4e4f11460d7109b214b6d7e85b074a Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 31 Aug 2025 18:16:37 -0700 Subject: [PATCH] Fix inconsistent internal name of `get_resource_filesystem` --- editor/editor_interface.cpp | 4 ++-- editor/editor_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/editor_interface.cpp b/editor/editor_interface.cpp index 13c123b999..26d827288f 100644 --- a/editor/editor_interface.cpp +++ b/editor/editor_interface.cpp @@ -75,7 +75,7 @@ EditorCommandPalette *EditorInterface::get_command_palette() const { return EditorCommandPalette::get_singleton(); } -EditorFileSystem *EditorInterface::get_resource_file_system() const { +EditorFileSystem *EditorInterface::get_resource_filesystem() const { return EditorFileSystem::get_singleton(); } @@ -778,7 +778,7 @@ void EditorInterface::_bind_methods() { // Editor tools. ClassDB::bind_method(D_METHOD("get_command_palette"), &EditorInterface::get_command_palette); - ClassDB::bind_method(D_METHOD("get_resource_filesystem"), &EditorInterface::get_resource_file_system); + ClassDB::bind_method(D_METHOD("get_resource_filesystem"), &EditorInterface::get_resource_filesystem); ClassDB::bind_method(D_METHOD("get_editor_paths"), &EditorInterface::get_editor_paths); ClassDB::bind_method(D_METHOD("get_resource_previewer"), &EditorInterface::get_resource_previewer); ClassDB::bind_method(D_METHOD("get_selection"), &EditorInterface::get_selection); diff --git a/editor/editor_interface.h b/editor/editor_interface.h index 3b95eb0e7d..8675b31e4b 100644 --- a/editor/editor_interface.h +++ b/editor/editor_interface.h @@ -101,7 +101,7 @@ public: // Editor tools. EditorCommandPalette *get_command_palette() const; - EditorFileSystem *get_resource_file_system() const; + EditorFileSystem *get_resource_filesystem() const; EditorPaths *get_editor_paths() const; EditorResourcePreview *get_resource_previewer() const; EditorSelection *get_selection() const;