X Tutup
Skip to content

Fix AnimationPlayer to use StringName instead of String in the exposed API.#110767

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
Ryan-000:Fix-AnimationPlayer-to-use-StringName
Oct 7, 2025
Merged

Fix AnimationPlayer to use StringName instead of String in the exposed API.#110767
Repiteo merged 1 commit intogodotengine:masterfrom
Ryan-000:Fix-AnimationPlayer-to-use-StringName

Conversation

@Ryan-000
Copy link
Contributor

This PR fixes the performance penalty of having to convert to and from StringStringName in the exposed AnimationPlayer api.

@Ryan-000 Ryan-000 force-pushed the Fix-AnimationPlayer-to-use-StringName branch from 4fe1041 to 71e1e08 Compare September 29, 2025 22:24
@Ryan-000 Ryan-000 requested a review from a team as a code owner September 29, 2025 22:24
@TokageItLab TokageItLab moved this to Ready for review in Animation Team Issue Triage Sep 29, 2025
@fire
Copy link
Member

fire commented Sep 30, 2025

According to the godot-cpp check the apis are breaking backwards compatibility and failing github actions.

@Mickeon
Copy link
Member

Mickeon commented Sep 30, 2025

Yes, the compatibility breakage should be handled appropriately. See Handling Compatibility Breakages

Copy link
Member

@TokageItLab TokageItLab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the change itself is acceptable, but it need to add a compatibility file as mentioned above.

@Ryan-000 Ryan-000 force-pushed the Fix-AnimationPlayer-to-use-StringName branch 2 times, most recently from e1ae9ca to f9f6a11 Compare October 5, 2025 01:20
@Ryan-000 Ryan-000 requested review from a team as code owners October 5, 2025 01:20
@Ryan-000 Ryan-000 force-pushed the Fix-AnimationPlayer-to-use-StringName branch 2 times, most recently from ae2dc7e to 64de3e6 Compare October 5, 2025 01:25
@TokageItLab TokageItLab modified the milestones: 4.x, 4.6 Oct 5, 2025
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
@Ryan-000 Ryan-000 force-pushed the Fix-AnimationPlayer-to-use-StringName branch from 463c1e5 to 35999a1 Compare October 6, 2025 20:29
@Repiteo Repiteo merged commit 8276e51 into godotengine:master Oct 7, 2025
20 checks passed
@github-project-automation github-project-automation bot moved this from Ready for review to Done in Animation Team Issue Triage Oct 7, 2025
@Repiteo
Copy link
Contributor

Repiteo commented Oct 7, 2025

Thanks!

@Ryan-000 Ryan-000 deleted the Fix-AnimationPlayer-to-use-StringName branch October 21, 2025 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants

X Tutup