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

Fix typo in create_outline error message.

This commit is contained in:
Ryan Roden-Corrent
2021-12-12 07:29:46 -05:00
parent b8914ab8b6
commit 353617b202

View File

@@ -398,7 +398,7 @@ void MeshInstance3DEditor::_create_outline_mesh() {
} }
if (mesh->get_surface_count() == 0) { if (mesh->get_surface_count() == 0) {
err_dialog->set_text(TTR("Mesh has not surface to create outlines from.")); err_dialog->set_text(TTR("Mesh has no surface to create outlines from."));
err_dialog->popup_centered(); err_dialog->popup_centered();
return; return;
} else if (mesh->get_surface_count() == 1 && mesh->surface_get_primitive_type(0) != Mesh::PRIMITIVE_TRIANGLES) { } else if (mesh->get_surface_count() == 1 && mesh->surface_get_primitive_type(0) != Mesh::PRIMITIVE_TRIANGLES) {