Add in missing return. Also removed now obsolete comment.

This commit is contained in:
Relintai 2021-12-31 00:53:21 +01:00
parent 881528f77b
commit 1e71822982
1 changed files with 1 additions and 2 deletions

View File

@ -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