mirror of https://github.com/godotengine/godot
Fix regression in moving resources in filesystem dock
This commit is contained in:
parent
f0f5319b0b
commit
4391d88c1a
|
|
@ -1488,11 +1488,6 @@ void FileSystemDock::_try_move_item(const FileOrFolder &p_item, const String &p_
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
Ref<Resource> res = ResourceCache::get_ref(old_path);
|
|
||||||
if (res.is_valid()) {
|
|
||||||
res->set_path_cache(new_path);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue