JannisX11 / blockbench

Blockbench - A low poly 3D model editor
https://www.blockbench.net
GNU General Public License v3.0
3.06k stars 271 forks source link

Deleting a bone and undoing the delete does not properly restore keyframes #2279

Closed Cart3r1234 closed 1 month ago

Cart3r1234 commented 2 months ago

What are you trying to do, and what do you expect to happen?

When deleting a bone and undoing the deletion, animations on the deleted bone should be restored.

What happens instead?

The keyframes from the deleted bone stay on the timeline, however they're not applied correctly when the bone is restored. Instead, a duplicate is created with no keyframes.

https://github.com/JannisX11/blockbench/assets/69820300/68916ded-ae03-48ae-a6f2-667842516113

Model format in which the issue occurs

Generic

Blockbench variant

Program

Blockbench version

4.10 Beta, 4.9.4

Operating System

Windows 11

Installed Blockbench plugins

Reproduceable with a fresh install/no plugins