better error message

This commit is contained in:
Daniel Kinsman 2025-08-25 21:23:44 +10:00 committed by GitHub
parent c75a33aa5d
commit 0cace15d72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -516,7 +516,7 @@ void EditorFileSystemImportFormatSupportQueryBlend::_update_icons() {
}
bool EditorFileSystemImportFormatSupportQueryBlend::query() {
ERR_FAIL_COND_V_MSG(DisplayServer::get_singleton()->get_name() == "headless", true, "Blender path is invalid or not set, check your Editor Settings.");
ERR_FAIL_COND_V_MSG(DisplayServer::get_singleton()->get_name() == "headless", true, "Blender is required to import .blend files but it could not be found.");
if (!configure_blender_dialog) {
configure_blender_dialog = memnew(ConfirmationDialog);