Browse Source

Merge pull request #102493 from Jordyfel/resource-moving-regression

Fix regression in moving resources in filesystem dock
Rémi Verschelde 6 months ago
parent
commit
9175514d80
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);
-				}
 			}
 			}
 		}
 		}