浏览代码

Fix regression in moving resources in filesystem dock

Jordyfel 8 月之前
父节点
当前提交
4391d88c1a
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      editor/filesystem_dock.cpp

+ 0 - 5
editor/filesystem_dock.cpp

@@ -1488,11 +1488,6 @@ void FileSystemDock::_try_move_item(const FileOrFolder &p_item, const String &p_
 						break;
 					}
 				}
-			} else {
-				Ref<Resource> res = ResourceCache::get_ref(old_path);
-				if (res.is_valid()) {
-					res->set_path_cache(new_path);
-				}
 			}
 		}