mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Use EditorFileDialog instead of FileDialog in the project manager
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user