mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
Merge pull request #99144 from KoBeWi/banish_uid
Remove corresponding .uid file when removing file
This commit is contained in:
commit
25a4d1c08c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user