You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix issue causing Export all to fail.
This commit is contained in:
@@ -2787,6 +2787,10 @@ public:
|
|||||||
|
|
||||||
String export_filename = p_path.get_file();
|
String export_filename = p_path.get_file();
|
||||||
String export_path = p_path.get_base_dir();
|
String export_path = p_path.get_base_dir();
|
||||||
|
if (export_path.is_rel_path()) {
|
||||||
|
export_path = OS::get_singleton()->get_resource_dir().plus_file(export_path);
|
||||||
|
}
|
||||||
|
export_path = ProjectSettings::get_singleton()->globalize_path(export_path).simplify_path();
|
||||||
|
|
||||||
copy_args.push_back("-Pexport_path=file:" + export_path);
|
copy_args.push_back("-Pexport_path=file:" + export_path);
|
||||||
copy_args.push_back("-Pexport_filename=" + export_filename);
|
copy_args.push_back("-Pexport_filename=" + export_filename);
|
||||||
|
|||||||
Reference in New Issue
Block a user