From aae48ac2b688a360b80ff06105190b1842644cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20T=2E=20Listwon?= Date: Fri, 8 Dec 2023 14:47:28 +0100 Subject: [PATCH] Prevent overriding file info of another file when reimport creates files --- editor/editor_file_system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index e81f71e0e09..6d1e1eaaa00 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -2154,6 +2154,9 @@ Error EditorFileSystem::_reimport_file(const String &p_file, const HashMapfiles[cpos]->modified_time = FileAccess::get_modified_time(p_file); fs->files[cpos]->import_modified_time = FileAccess::get_modified_time(p_file + ".import");