Browse Source

Fix regression in moving resources in filesystem dock

Jordyfel 6 months ago
parent
commit
4391d88c1a
1 changed files with 0 additions and 5 deletions
  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;
 						break;
 					}
 					}
 				}
 				}
-			} else {
-				Ref<Resource> res = ResourceCache::get_ref(old_path);
-				if (res.is_valid()) {
-					res->set_path_cache(new_path);
-				}
 			}
 			}
 		}
 		}