From 6fe4eaa7fa5eebb1ecfc6277bbaa58aec5c19b35 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 31 Dec 2021 00:54:14 +0100 Subject: [PATCH] Fix regression with the vertex selection mode. --- game/addons/mesh_data_resource_editor/MIDGizmo.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/addons/mesh_data_resource_editor/MIDGizmo.gd b/game/addons/mesh_data_resource_editor/MIDGizmo.gd index acddc73c..f18949b2 100644 --- a/game/addons/mesh_data_resource_editor/MIDGizmo.gd +++ b/game/addons/mesh_data_resource_editor/MIDGizmo.gd @@ -301,7 +301,7 @@ func recalculate_handle_points() -> void: if selection_mode == SelectionMode.SELECTION_MODE_VERTEX: var merged_arrays : Array = MeshUtils.merge_mesh_array(arr) _handle_points = merged_arrays[ArrayMesh.ARRAY_VERTEX] - _handle_to_vertex_map = MeshDecompose.get_handle_vertex_to_vertex_map(arr, _handle_points) + _handle_to_vertex_map = MeshDecompose.get_handle_vertex_to_vertex_map(mdr_arr, _handle_points) elif selection_mode == SelectionMode.SELECTION_MODE_EDGE: var result : Array = MeshDecompose.get_handle_edge_to_vertex_map(arr)