From 0707a9fa84e2c33a7769faae5f548ec8069bf5c2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 11 Feb 2022 19:25:27 +0100 Subject: [PATCH] Fix normal (re)generation in mdr ed. --- 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 c1526957..843d767b 100644 --- a/game/addons/mesh_data_resource_editor/MIDGizmo.gd +++ b/game/addons/mesh_data_resource_editor/MIDGizmo.gd @@ -1238,7 +1238,7 @@ func generate_normals(): var orig_seams = copy_pool_int_array(_mdr.seams) var seam_points : PoolVector3Array = MDRMeshUtils.seams_to_points(_mdr) - MDRMeshUtils.generate_normals(_mdr) + MDRMeshUtils.generate_normals_mdr(_mdr) MDRMeshUtils.points_to_seams(_mdr, seam_points) add_mesh_seam_change_undo_redo(orig_arr, orig_seams, _mdr.array, _mdr.seams, "Generate Normals")