mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Remove corresponding .uid file when removing file
This commit is contained in:
parent
cb411fa960
commit
0875523f6b
@ -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