mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Add the do and undo methods in one after the other in add_mesh_seam_change_undo_redo because the docs say it has to be like that.
This commit is contained in:
parent
2ce6e4d466
commit
b5dbe0b6dd
@ -1165,9 +1165,9 @@ func add_mesh_seam_change_undo_redo(orig_arr : Array, orig_seams : PoolIntArray,
|
||||
var nac : Array = copy_arrays(new_arr)
|
||||
|
||||
_undo_redo.add_do_method(self, "apply_mesh_change", _mdr, nac)
|
||||
_undo_redo.add_do_method(self, "set_seam", _mdr, copy_pool_int_array(new_seams))
|
||||
|
||||
_undo_redo.add_undo_method(self, "apply_mesh_change", _mdr, orig_arr)
|
||||
|
||||
_undo_redo.add_do_method(self, "set_seam", _mdr, copy_pool_int_array(new_seams))
|
||||
_undo_redo.add_undo_method(self, "set_seam", _mdr, orig_seams)
|
||||
|
||||
_undo_redo.commit_action()
|
||||
|
Loading…
Reference in New Issue
Block a user