From 57a58a58abe3c2d0de97b353bdda286fadbfa8c5 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 31 Dec 2021 14:39:17 +0100 Subject: [PATCH] Fix typo in edge map generation code. This should just make it more optimal by not not adding vertices multiple times to a single edge vertex map. --- .../mesh_data_resource_editor/utilities/mesh_decompose.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/addons/mesh_data_resource_editor/utilities/mesh_decompose.gd b/game/addons/mesh_data_resource_editor/utilities/mesh_decompose.gd index 2c9d5c43..d92595ef 100644 --- a/game/addons/mesh_data_resource_editor/utilities/mesh_decompose.gd +++ b/game/addons/mesh_data_resource_editor/utilities/mesh_decompose.gd @@ -112,7 +112,7 @@ static func get_handle_edge_to_vertex_map(arrays : Array) -> Array: break if !found: - vm.append_array(vm1) + vm.append(vi) handle_to_vertex_map.append(vm)