Skip to content

Commit

Permalink
Merge pull request #84797 from akien-mga/silence-warning-about-skippi…
Browse files Browse the repository at this point in the history
…ng-dirs-with-godot-project

Remove EditorFileDialog warning when skipping project directories
  • Loading branch information
akien-mga committed Nov 12, 2023
2 parents 404c995 + e03f47c commit 4123f13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion editor/editor_file_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2369,7 +2369,9 @@ bool EditorFileSystem::_should_skip_directory(const String &p_path) {

if (FileAccess::exists(p_path.path_join("project.godot"))) {
// Skip if another project inside this.
WARN_PRINT_ONCE(vformat("Detected another project.godot at %s. The folder will be ignored.", p_path));
if (EditorFileSystem::get_singleton()->first_scan) {
WARN_PRINT_ONCE(vformat("Detected another project.godot at %s. The folder will be ignored.", p_path));
}
return true;
}

Expand Down

0 comments on commit 4123f13

Please sign in to comment.