Merge pull request #99144 from KoBeWi/banish_uid

Remove corresponding .uid file when removing file
This commit is contained in:
Thaddeus Crews 2024-11-13 08:34:17 -06:00
commit 25a4d1c08c
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -1516,6 +1516,9 @@ void EditorFileSystem::_delete_internal_files(const String &p_file) {
}
da->remove(p_file + ".import");
}
if (FileAccess::exists(p_file + ".uid")) {
DirAccess::remove_absolute(p_file + ".uid");
}
}
int EditorFileSystem::_insert_actions_delete_files_directory(EditorFileSystemDirectory *p_dir) {