Godot Engine – Multi-platform 2D and 3D game engine
Fix MeshLibrary editor typo
kobewi98bb65ec8f9d
diff --git a/editor/scene/3d/mesh_library_editor_plugin.cpp b/editor/scene/3d/mesh_library_editor_plugin.cppindex 5c53a9e5f40..c50408d5702 100644--- a/editor/scene/3d/mesh_library_editor_plugin.cpp+++ b/editor/scene/3d/mesh_library_editor_plugin.cpp@@ -741,7 +741,7 @@ MeshLibraryEditor::MeshLibraryEditor() {inspector->add_custom_property_description("MeshLibraryItem", "name", TTRC("The item's name, shown in the editor. It can also be used to look up the item later using [method MeshLibrary.find_item_by_name]."));inspector->add_custom_property_description("MeshLibraryItem", "mesh", TTRC("The item's mesh. Used by other parts of the engine (e.g. [GridMap], which displays them in a 3D tile)."));inspector->add_custom_property_description("MeshLibraryItem", "mesh_transform", TTRC("The transform to apply to the item's mesh."));- inspector->add_custom_property_description("MeshLibraryItem", "mesh_cast_shadow", TTRC("The shadow casting mode used by the item's mesh. See [enum RenderingServer.ShadowCastingSetting]"));+ inspector->add_custom_property_description("MeshLibraryItem", "mesh_cast_shadow", TTRC("The shadow casting mode used by the item's mesh. See [enum RenderingServer.ShadowCastingSetting]."));inspector->add_custom_property_description("MeshLibraryItem", "shapes", TTRC("The item's collision shapes.\nThe array should consist of [Shape3D] objects, each followed by a [Transform3D] that will be applied to it. For shapes that should not have a transform, use [constant Transform3D.IDENTITY]."));inspector->add_custom_property_description("MeshLibraryItem", "navigation_mesh", TTRC("The item's navigation mesh."));inspector->add_custom_property_description("MeshLibraryItem", "navigation_mesh_transform", TTRC("The transform to apply to the item's navigation mesh."));@@ -749,7 +749,7 @@ MeshLibraryEditor::MeshLibraryEditor() {inspector->add_custom_property_description("MeshLibraryItem", "preview", TTRC("The texture to use as the item's preview icon in the editor."));empty_lib = memnew(Label);- empty_lib->set_text(TTRC("No items found inside the MeshLibrary.\nYou can add some by using the Add button on the left, or by exporting them from a scene file via the Export menu."));+ empty_lib->set_text(TTRC("No items found inside the MeshLibrary.\nYou can add some by using the Add button on the left, or by importing them from a scene file via the Import menu."));empty_lib->set_focus_mode(FOCUS_ACCESSIBILITY);empty_lib->set_autowrap_mode(TextServer::AUTOWRAP_WORD_SMART);empty_lib->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);