You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Viewing an Animated Sprite's SpriteFrames, closing a scene and re-opening another scene with an Animated Sprite shows the incorrect scene's animations in the SpriteFrames' Animation and Animation Frames panel, and causes loss of functionality until corrected.
Steps to reproduce: Prep:
Create a Node2D Scene, attach an AnimatedSprite as child. Create SpriteFrames, and add a new animation, call it something distinguishable, ie. "ANIMATION_A". Optional, but helps to demo: add any random graphic to this animation. Save this scene as "abc123". Make sure the AnimatedSprite node is selected.
Repeat the above step, but use "ANIMATION_B" instead of "ANIMATION_A", and add a different graphic (or use none). Save this scene as "def234". Make sure the AnimatedSprite node is selected.
Your scene tabs should be as follows: [abc123, def234 (current)], both with their AnimatedSprite node selected to make the SpriteFrame Animation/Animation Frames panel in the editor visible.
Reproduction
Close def234, then close abc123. Re-open def234, then select the AnimatedSprite node. The displayed animation in the Animation and AnimationFrames panel will be of abc123, not def234. Also, all buttons in the Animation and Animation Frame panels do not respond, except for "New Animation" and "Add Frames from a Sprite Sheet" respectively.
Current workarounds
There are two ways I've found to "correct" this behavior in the editor. One such way is to open abc123 again, select its AnimatedSprite node, then switching back to def234. Another is to use the aforementioned buttons and either create a new animation, or the spritesheet button and add a frame to the animation (no frame is actually added?). The editor then correctly displays the correct animations.
2021-03-06.14-04-52_1.mp4
The text was updated successfully, but these errors were encountered:
Godot version:
3.2.3 stable (mono)
OS/device including version:
Windows 7 x64
Issue description:
Viewing an Animated Sprite's SpriteFrames, closing a scene and re-opening another scene with an Animated Sprite shows the incorrect scene's animations in the SpriteFrames' Animation and Animation Frames panel, and causes loss of functionality until corrected.
Steps to reproduce:
Prep:
Reproduction
Close def234, then close abc123. Re-open def234, then select the AnimatedSprite node. The displayed animation in the Animation and AnimationFrames panel will be of abc123, not def234. Also, all buttons in the Animation and Animation Frame panels do not respond, except for "New Animation" and "Add Frames from a Sprite Sheet" respectively.
Current workarounds
There are two ways I've found to "correct" this behavior in the editor. One such way is to open abc123 again, select its AnimatedSprite node, then switching back to def234. Another is to use the aforementioned buttons and either create a new animation, or the spritesheet button and add a frame to the animation (no frame is actually added?). The editor then correctly displays the correct animations.
2021-03-06.14-04-52_1.mp4
The text was updated successfully, but these errors were encountered: