Use EditorFileDialog instead of FileDialog in the project manager

This commit is contained in:
Hendrik Brucker
2022-02-03 01:21:52 +01:00
parent b99fad040d
commit 77fb65debf
12 changed files with 206 additions and 101 deletions

View File

@@ -193,7 +193,7 @@ EditorPaths::EditorPaths() {
// Validate or create project-specific editor data dir,
// including shader cache subdir.
if (Main::is_project_manager() || Main::is_cmdline_tool()) {
if (Engine::get_singleton()->is_project_manager_hint() || Main::is_cmdline_tool()) {
// Nothing to create, use shared editor data dir for shader cache.
Engine::get_singleton()->set_shader_cache_path(data_dir);
} else {