Skip to content

Commit 9700302

Browse files
committed
Merge pull request godotengine#101683 from KoBeWi/duplicate_preventer
Don't duplicate .uid files
2 parents 0cbcfb3 + d8db308 commit 9700302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/editor_file_system.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3024,7 +3024,7 @@ bool EditorFileSystem::_copy_directory(const String &p_from, const String &p_to,
30243024
for (String F = old_dir->_get_next(); !F.is_empty(); F = old_dir->_get_next()) {
30253025
if (old_dir->current_is_dir()) {
30263026
success = _copy_directory(p_from.path_join(F), p_to.path_join(F), p_files) && success;
3027-
} else if (F.get_extension() != "import") {
3027+
} else if (F.get_extension() != "import" && F.get_extension() != "uid") {
30283028
CopiedFile copy;
30293029
copy.from = p_from.path_join(F);
30303030
copy.to = p_to.path_join(F);

0 commit comments

Comments
 (0)