From 8920bb8c1b6aebb665d376890bd6971f416b8609 Mon Sep 17 00:00:00 2001 From: volzhs Date: Wed, 6 Mar 2019 21:20:18 +0900 Subject: Fix directory check when exporting project Fix #26702 --- platform/osx/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/osx') diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp index a0eccceed0..5e94bc457b 100644 --- a/platform/osx/export/export.cpp +++ b/platform/osx/export/export.cpp @@ -425,7 +425,7 @@ Error EditorExportPlatformOSX::export_project(const Ref &p_p } } - if (!FileAccess::exists(p_path.get_base_dir())) { + if (!DirAccess::exists(p_path.get_base_dir())) { return ERR_FILE_BAD_PATH; } -- cgit v1.2.3