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

Deprecate is_playing_animation #14387

Merged

Conversation

FastestMolasses
Copy link
Contributor

Objective

Fixes #14386

Solution

  • Added the #[deprecate] attribute to the is_playing_animation function.

Testing

The project successfully builds.


Migration Guide

The user will just need to replace functions named is_playing_animation with animation_is_playing.

Copy link
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@alice-i-cecile alice-i-cecile added C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it A-Animation Make things move and change over time M-Needs-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide labels Jul 19, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jul 19, 2024
Merged via the queue into bevyengine:main with commit d8d49fd Jul 19, 2024
32 checks passed
@BD103 BD103 removed the M-Needs-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide label Nov 25, 2024
@BD103
Copy link
Member

BD103 commented Nov 25, 2024

I'm removing the "Needs-Migration-Guide" label, as this PR was reverted and there's no way (that I'm aware of) to skip PRs in _guides.toml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Animation Make things move and change over time C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate either animation_is_playing or is_playing_animation from AnimationPlayer
3 participants