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

Flip animations not working / Auto mirror group feature is duplicating each child group multiple times #2251

Open bitegw opened 3 months ago

bitegw commented 3 months ago

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

I'm trying to flip animations (that have a single keyframe, but others also don't work). I expect them to be mirrored to the other side along x axis (for the keyframes to affect mirrored bones instead).

What happens instead?

Nothing happens when I use the Animation flip button. The dialogue with flip options is also broken and does not appear after the first attempt.

Some additional info that might be relevant: I made this model with limbs on one side with the intention of mirroring them after I've correctly set their pivots and groups. When I finally turned on auto mirror option, and toggled the limbs on and off, it visually produced the correct result, but the hierarchy was DEFINITELY bugged. Here is an example of what I mirrored (selected) and the produced hierarchy (unselected):

image

As you can see it's duplicating the first group, then each child group AGAIN, until it runs out of children. The more child groups there are, the more duplicates appear. You might think this is happening because I selected ALL groups and toggled visibility to trigger mirroring, but it also happens when selecting only the top group. The exported gltf file also has groups that are all inexplicably named with a number 2 in the end, even though that is not the name of the group currently.

This seems like 3 bugs at once but I'm only making one issue because they might all be related to the mirror duplicating issue.

Model format in which the issue occurs

bbmodel, gltf

Blockbench variant

Program

Blockbench version

4.9.4

Operating System

Windows 11

Installed Blockbench plugins

No response