From e75b44089cbb6c7ff2f774d72da85ca7a2004643 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 27 Jan 2022 17:04:04 +0100 Subject: [PATCH] Fix typo. --- game/addons/mesh_data_resource_editor/MDIEd.gd | 2 +- game/addons/mesh_data_resource_editor/plugin.gd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game/addons/mesh_data_resource_editor/MDIEd.gd b/game/addons/mesh_data_resource_editor/MDIEd.gd index 1d5ec17b..6bfd0b26 100644 --- a/game/addons/mesh_data_resource_editor/MDIEd.gd +++ b/game/addons/mesh_data_resource_editor/MDIEd.gd @@ -165,7 +165,7 @@ func _on_split_pressed(): _plugin.split() func _on_connect_to_first_selected_pressed(): - _plugin.onnect_to_first_selected() + _plugin.connect_to_first_selected() func _on_connect_to_avg_pressed(): _plugin.connect_to_avg() diff --git a/game/addons/mesh_data_resource_editor/plugin.gd b/game/addons/mesh_data_resource_editor/plugin.gd index 5ca67c79..e187b947 100644 --- a/game/addons/mesh_data_resource_editor/plugin.gd +++ b/game/addons/mesh_data_resource_editor/plugin.gd @@ -205,9 +205,9 @@ func generate_tangents(): if current_mesh_data_instance && current_mesh_data_instance.gizmo: current_mesh_data_instance.gizmo.generate_tangents() -func onnect_to_first_selected(): +func connect_to_first_selected(): if current_mesh_data_instance && current_mesh_data_instance.gizmo: - current_mesh_data_instance.gizmo.onnect_to_first_selected() + current_mesh_data_instance.gizmo.connect_to_first_selected() func connect_to_avg(): if current_mesh_data_instance && current_mesh_data_instance.gizmo: