More codespell fixes, do more changes from previous ignore list
This commit is contained in:
@@ -2379,15 +2379,15 @@ Error ResourceFormatSaverText::set_uid(const String &p_path, ResourceUID::ID p_u
|
||||
String local_path = ProjectSettings::get_singleton()->localize_path(p_path);
|
||||
Error err = OK;
|
||||
{
|
||||
Ref<FileAccess> fo = FileAccess::open(p_path, FileAccess::READ);
|
||||
if (fo.is_null()) {
|
||||
Ref<FileAccess> file = FileAccess::open(p_path, FileAccess::READ);
|
||||
if (file.is_null()) {
|
||||
ERR_FAIL_V(ERR_CANT_OPEN);
|
||||
}
|
||||
|
||||
ResourceLoaderText loader;
|
||||
loader.local_path = local_path;
|
||||
loader.res_path = loader.local_path;
|
||||
err = loader.set_uid(fo, p_uid);
|
||||
err = loader.set_uid(file, p_uid);
|
||||
}
|
||||
|
||||
if (err == OK) {
|
||||
|
||||
Reference in New Issue
Block a user