Skip to content

Commit d8db308

Browse files
committed
Don't duplicate .uid files
1 parent 36a62d0 commit d8db308

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
@@ -3012,7 +3012,7 @@ bool EditorFileSystem::_copy_directory(const String &p_from, const String &p_to,
30123012
for (String F = old_dir->_get_next(); !F.is_empty(); F = old_dir->_get_next()) {
30133013
if (old_dir->current_is_dir()) {
30143014
success = _copy_directory(p_from.path_join(F), p_to.path_join(F), p_files) && success;
3015-
} else if (F.get_extension() != "import") {
3015+
} else if (F.get_extension() != "import" && F.get_extension() != "uid") {
30163016
CopiedFile copy;
30173017
copy.from = p_from.path_join(F);
30183018
copy.to = p_to.path_join(F);

0 commit comments

Comments
 (0)