Animated-Java / animated-java

A Blockbench plugin that makes complex animation a breeze in Minecraft: Java Edition.
Other
159 stars 26 forks source link

[BUG] Invisible Gizmo for bones containing locators #202

Open MrMakistein opened 3 months ago

MrMakistein commented 3 months ago

Describe the bug When a bone contains a locator and the locator is above the geometry in the outliner, the gizmo becomes invisible in the animation tab.

To Reproduce

  1. Create a random model and add a locator to any bone.
  2. Make sure the locator is above the cube
  3. Open the animation tab and select the bone.
  4. Observe the missing gizmo

(When the cube is placed above the locator in the bone, the gizmo appears in the animation tab)

Expected behavior The transformation gizmo should always appear when selecting a bone.

Desktop:

SnaveSutit commented 3 months ago

This is due to a Blockbench limitation. When you select a bone, it also selects all of the children. and Locators have no position, rotation, or scale keyframes. So it hides the Gizmo.

If you click the bone again, it will select just the bone, and then you can drag it around with the transform tools:

https://github.com/Animated-Java/animated-java/assets/28514936/56bb9931-e10a-4a7a-bec6-f3e1c753f924