Setup call paths for the apply seam button.

This commit is contained in:
Relintai 2022-01-18 22:24:22 +01:00
parent 1637395eef
commit a973b875b9
4 changed files with 11 additions and 0 deletions

View File

@ -183,3 +183,6 @@ func _on_mark_seam_pressed():
func _on_unmark_seam_pressed():
plugin.unmark_seam()
func _on_apply_seams_pressed():
plugin.apply_seam()

View File

@ -547,6 +547,7 @@ script = ExtResource( 3 )
[connection signal="pressed" from="VBoxContainer/ScrollContainer/VBoxContainer2/Operations/Operations/RemDoubles" to="." method="_on_RemDoubles_pressed"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/VBoxContainer2/Operations/Operations/MergeOptimize" to="." method="_on_MergeOptimize_pressed"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/VBoxContainer2/Operations/Operations/Clean" to="." method="_on_MergeOptimize_pressed"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/VBoxContainer2/Operations/Operations/ApplySeams" to="." method="_on_apply_seams_pressed"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/VBoxContainer2/Operations/Operations/UnwrapButton2" to="." method="_on_UnwrapButton_pressed"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/VBoxContainer2/Add/Add/AddBox" to="." method="_on_AddBox_pressed"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/VBoxContainer2/Add/Add/AddTriangle" to="." method="_on_add_triangle_pressed"]

View File

@ -1013,3 +1013,6 @@ func unmark_seam():
on_mdr_changed()
elif selection_mode == SelectionMode.SELECTION_MODE_FACE:
pass
func apply_seam():
pass

View File

@ -245,3 +245,7 @@ func mark_seam():
func unmark_seam():
for g in active_gizmos:
g.unmark_seam()
func apply_seam():
for g in active_gizmos:
g.apply_seam()