mirror of
https://github.com/godotengine/godot.git
synced 2025-02-11 22:35:15 +08:00
Merge pull request #39407 from Calinou/tweak-invalid-export-preset-message
Tweak the invalid preset error message to mention `export_presets.cfg`
This commit is contained in:
commit
a1c7669bef
@ -619,7 +619,9 @@ void EditorNode::_fs_changed() {
|
||||
preset.unref();
|
||||
}
|
||||
if (preset.is_null()) {
|
||||
export_error = vformat("Invalid export preset name: %s.", preset_name);
|
||||
export_error = vformat(
|
||||
"Invalid export preset name: %s. Make sure `export_presets.cfg` is present in the current directory.",
|
||||
preset_name);
|
||||
} else {
|
||||
Ref<EditorExportPlatform> platform = preset->get_platform();
|
||||
if (platform.is_null()) {
|
||||
|
Loading…
Reference in New Issue
Block a user