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

AnimatedSprite2D editor carrying changes over between different items of the UI #80575

Closed
kenneth-leblanc opened this issue Aug 13, 2023 · 1 comment

Comments

@kenneth-leblanc
Copy link

Godot version

v4.1.1.stable.official [bd6af8e]

System information

Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1660 Ti (NVIDIA; 31.0.15.1694) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 Threads)

Issue description

When editing the FPS or Frame Duration on a SpriteFrames resource, if you select another animation (FPS) or another frame (Frame Duration), right after changing the value, before changing focus, both the originally selected item and the newly selected item will receive the change.
Here is an animation of the bug as it applies to FPS.

AnimationBug

I would expect it to apply the change to the originally selected item and not apply the change to the newly selected item.

Steps to reproduce

Make an AnimatedSpite2D node
Add a SpriteFrames resource
Add at least 2 animations
Change the FPS of the first animation, then before hitting enter, select a different animation. The new FPS will be applied to both the old animation and the newly selected animation.
You can do the same for Frame Duration by adding two frames and editing frame duration and then selecting another frame.

Minimal reproduction project

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants