Godot version
v3.5.2.stable.official [170ba33]
System information
Linux Ubuntu 22.04 with Unity desktop
Issue description
Note: I did not test this with Godot 4, but I don't remember having it on Godot 4 either
When I delete the last track of some animation on my Animation Player in the Animation window, I get the following error:
editor/animation_track_editor.cpp:1850 - Index track = N is out of bounds (animation->get_track_count() = N).
where N is the index of the removed track.
It's as if the index was checked after removing the track instead of before.
Steps to reproduce
- Create an AnimationPlayer + some Animation with some tracks
- Delete the last track
Minimal reproduction project
N/A
Godot version
v3.5.2.stable.official [170ba33]
System information
Linux Ubuntu 22.04 with Unity desktop
Issue description
Note: I did not test this with Godot 4, but I don't remember having it on Godot 4 either
When I delete the last track of some animation on my Animation Player in the Animation window, I get the following error:
where N is the index of the removed track.
It's as if the index was checked after removing the track instead of before.
Steps to reproduce
Minimal reproduction project
N/A