Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added reference counter for PathObjects #1931

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

Semphriss
Copy link
Member

Automatically manages a path's lifetime based on whether or not it is referenced by other objects.

Also fixes a bug where node handles in the editor would persist after a path is deleted, resulting in undefined behavior. It does not, however, remove nodes upon deselection; it only removes nodes when the path itself is deleted.

Also fixes a bug where node handles in the editor would persist after a path is deleted, resulting in undefined behavior. It does not, however, remove nodes upon deselection; it only removes nodes when the path itself is deleted.
@tobbi
Copy link
Member

tobbi commented Dec 13, 2021

Looking good!

@tobbi tobbi merged commit 12c884e into SuperTux:master Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants