You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix missing directories when exporting from cmd
This commit is contained in:
@@ -218,7 +218,7 @@ EditorPaths::EditorPaths() {
|
||||
|
||||
// Validate or create project-specific editor data dir,
|
||||
// including shader cache subdir.
|
||||
if (Engine::get_singleton()->is_project_manager_hint() || Main::is_cmdline_tool()) {
|
||||
if (Engine::get_singleton()->is_project_manager_hint() || (Main::is_cmdline_tool() && !ProjectSettings::get_singleton()->is_project_loaded())) {
|
||||
// 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