Skip to content

Conversation

@stephengold
Copy link
Member

This PR adds getters for the FrameInterpolator of a MorphTrack or TransformTrack.

The corresponding setters date back to MonkAnim, but Nehon didn't provide getters. I don't know why.

The use case is when I want to deep-clone an AnimTrack. Since these classes don't implement deep cloning using cloneFields(), I need access to the private interpolator field. Currently such access is possible only by using reflection.

@stephengold stephengold added this to the Future Release milestone Nov 28, 2023
@stephengold
Copy link
Member Author

Unless there's something worth discussing here, I plan to self-integrate this pull request in about 72 hours.

@stephengold stephengold merged commit 85747df into master Dec 8, 2023
@stephengold stephengold deleted the sgold/frame-interp branch December 8, 2023 06:35
@stephengold stephengold modified the milestones: Future Release, v3.7.0 Oct 22, 2024
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.

2 participants