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

Fix AnimationTree duplicating library data in inherited nodes #82750

Conversation

SaracenOne
Copy link
Member

Closes #82749

@SaracenOne SaracenOne added this to the 4.2 milestone Oct 3, 2023
@SaracenOne SaracenOne requested a review from a team as a code owner October 3, 2023 22:11
@fire
Copy link
Member

fire commented Oct 3, 2023

@TokageItLab I think this looks good, but I don't have reproduction tests to test. I'll look at the instructions.

@TokageItLab
Copy link
Member

TokageItLab commented Oct 11, 2023

AnimationTree references the AnimationPlayer's animation list and then AnimationTree treats them as if it were its own. In any case, the animation list is copied by reference at runtime, but indeed it may not be necessary to serialize as .tres.

However, I can't be confident that this is the right way to go, as there is no precedent for such an implementation which sharing properties of other nodes by reference.

@SaracenOne
Copy link
Member Author

I think @TokageItLab was correct. I've investigated this problem further and I think I have more proper solution to the problem.

Superceded by #84168

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.

Inherited AnimationTree saves
5 participants