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

[Animation] Improvements to Tween memory management #88856

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

AThousandShips
Copy link
Member

Using ObjectID instead of manually breaking reference cycles.

Also removed a duplicate variable tween in MethodTweener

Left the clear method in Tween, can remove it if desired but it still has functionality even without its main purpose

scene/animation/tween.cpp Outdated Show resolved Hide resolved
scene/animation/tween.h Outdated Show resolved Hide resolved
Using `ObjectID` instead of manually breaking reference cycles.
@akien-mga akien-mga merged commit 592d2cb into godotengine:master Feb 27, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@AThousandShips AThousandShips deleted the tween_fix branch February 27, 2024 09:32
@AThousandShips
Copy link
Member Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants