1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Tweak the invalid preset error message to mention export_presets.cfg

(cherry picked from commit a7b2f3d41a)
This commit is contained in:
Hugo Locurcio
2020-06-09 10:24:13 +02:00
committed by Rémi Verschelde
parent ebb30ac45a
commit 317c9b5fe9

View File

@@ -593,7 +593,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()) {