From 1e71822982931eec5c43b2fffd17d742c4ab4af2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 31 Dec 2021 00:53:21 +0100 Subject: [PATCH] Add in missing return. Also removed now obsolete comment. --- game/addons/mesh_data_resource_editor/MIDGizmo.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/game/addons/mesh_data_resource_editor/MIDGizmo.gd b/game/addons/mesh_data_resource_editor/MIDGizmo.gd index 85c152c9..acddc73c 100644 --- a/game/addons/mesh_data_resource_editor/MIDGizmo.gd +++ b/game/addons/mesh_data_resource_editor/MIDGizmo.gd @@ -280,12 +280,11 @@ func _notification(what): if self != null && get_plugin(): get_plugin().unregister_gizmo(self) -#todo if selection type changed recalc handles aswell - #add method recalc handles -> check for type func recalculate_handle_points() -> void: if !_mdr: _handle_points.resize(0) _handle_to_vertex_map.resize(0) + return var mdr_arr : Array = _mdr.array