Fix a typo and copy pase error.

This commit is contained in:
Relintai 2022-01-23 22:05:28 +01:00
parent 692a4feab6
commit 6c02392f11
2 changed files with 2 additions and 7 deletions

View File

@ -214,7 +214,7 @@ func _on_uv_edit_pressed():
func on_pivot_average_toggled(on : bool):
if on:
_plugin.set_spivot_averaged()
_plugin.set_pivot_averaged()
func on_pivot_mdi_origin_toggled(on : bool):
if on:

View File

@ -233,14 +233,9 @@ func uv_unwrap() -> void:
if current_mesh_data_instance && current_mesh_data_instance.gizmo:
current_mesh_data_instance.gizmo.set_spivot_averaged()
func set_spivot_averaged():
func set_pivot_averaged():
if current_mesh_data_instance && current_mesh_data_instance.gizmo:
current_mesh_data_instance.gizmo.set_selection_mode_face()
for g in active_gizmos:
if g.active:
g.set_spivot_averaged()
return
func set_pivot_mdi_origin():
if current_mesh_data_instance && current_mesh_data_instance.gizmo: