diff --git a/doc/classes/EditorFileSystem.xml b/doc/classes/EditorFileSystem.xml index 06fa4be2c8..8a41b04397 100644 --- a/doc/classes/EditorFileSystem.xml +++ b/doc/classes/EditorFileSystem.xml @@ -36,6 +36,12 @@ Returns the scan progress for 0 to 1 if the FS is being scanned. + + + + Returns [code]true[/code] if resources are currently being imported. + + diff --git a/editor/file_system/editor_file_system.cpp b/editor/file_system/editor_file_system.cpp index 8a5f876fd4..71d2daae2e 100644 --- a/editor/file_system/editor_file_system.cpp +++ b/editor/file_system/editor_file_system.cpp @@ -3676,6 +3676,7 @@ bool EditorFileSystem::_scan_extensions() { void EditorFileSystem::_bind_methods() { ClassDB::bind_method(D_METHOD("get_filesystem"), &EditorFileSystem::get_filesystem); ClassDB::bind_method(D_METHOD("is_scanning"), &EditorFileSystem::is_scanning); + ClassDB::bind_method(D_METHOD("is_importing"), &EditorFileSystem::is_importing); ClassDB::bind_method(D_METHOD("get_scanning_progress"), &EditorFileSystem::get_scanning_progress); ClassDB::bind_method(D_METHOD("scan"), &EditorFileSystem::scan); ClassDB::bind_method(D_METHOD("scan_sources"), &EditorFileSystem::scan_changes);