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 crash when trying to undo SpriteFrames animation rename #93112

Merged

Conversation

Hilderin
Copy link
Contributor

@Hilderin Hilderin commented Jun 13, 2024

Fixes #93079
Bugsquad edit: Also fixes #92600

The problem was introduced by PR #90815. As suggested by KoBeWi in that PR, I modified the verification to check if the new SpriteFrames is different. I removed the method is_editing because I found it redundant with get_sprite_frames.

Tested with renaming animations, Ctrl-Z, adding animations, and removing animations.

@matheusmdx
Copy link
Contributor

This pr also fixes #92600

@akien-mga akien-mga requested a review from KoBeWi June 13, 2024 10:58
@akien-mga akien-mga added this to the 4.3 milestone Jun 13, 2024
@akien-mga akien-mga merged commit 93447ce into godotengine:master Jun 13, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga changed the title Fix Crash when trying to undo SpriteFrames animation rename #93079 Fix crash when trying to undo SpriteFrames animation rename Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants