You've already forked godot
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
This commit is contained in:
@@ -619,7 +619,9 @@ void EditorNode::_fs_changed() {
|
|||||||
preset.unref();
|
preset.unref();
|
||||||
}
|
}
|
||||||
if (preset.is_null()) {
|
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 {
|
} else {
|
||||||
Ref<EditorExportPlatform> platform = preset->get_platform();
|
Ref<EditorExportPlatform> platform = preset->get_platform();
|
||||||
if (platform.is_null()) {
|
if (platform.is_null()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user