mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Fix a typo and copy pase error.
This commit is contained in:
parent
692a4feab6
commit
6c02392f11
@ -214,7 +214,7 @@ func _on_uv_edit_pressed():
|
|||||||
|
|
||||||
func on_pivot_average_toggled(on : bool):
|
func on_pivot_average_toggled(on : bool):
|
||||||
if on:
|
if on:
|
||||||
_plugin.set_spivot_averaged()
|
_plugin.set_pivot_averaged()
|
||||||
|
|
||||||
func on_pivot_mdi_origin_toggled(on : bool):
|
func on_pivot_mdi_origin_toggled(on : bool):
|
||||||
if on:
|
if on:
|
||||||
|
@ -233,14 +233,9 @@ func uv_unwrap() -> void:
|
|||||||
if current_mesh_data_instance && current_mesh_data_instance.gizmo:
|
if current_mesh_data_instance && current_mesh_data_instance.gizmo:
|
||||||
current_mesh_data_instance.gizmo.set_spivot_averaged()
|
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:
|
if current_mesh_data_instance && current_mesh_data_instance.gizmo:
|
||||||
current_mesh_data_instance.gizmo.set_selection_mode_face()
|
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():
|
func set_pivot_mdi_origin():
|
||||||
if current_mesh_data_instance && current_mesh_data_instance.gizmo:
|
if current_mesh_data_instance && current_mesh_data_instance.gizmo:
|
||||||
|
Loading…
Reference in New Issue
Block a user