Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes use after free in redo of "Create Custom Bone2D(s) from Node(s)"
Using "queue_free" on the undo of the creation of the Bone2D meant that on the redo the Bone2D was already deleted. Replaced it with "add_do_reference", so when the Action of the undo_redo is destroyed, also destroys the Bone2D.
- Loading branch information