Rotation gizmo doesn't work after scale gizmo

Hi, in my scene I create position, rotation and scale gizmo on the same mesh, after using the scale gizmo the rotation gizmo doesn’t work anymore, can someone please check if there is a bug using more gizmos together?

This is the code to show you the potential bug


I pasted the code used in the playground.

cc @Cedric

It’s better if you can share the Playground directly. Just click on the save button and it will generate a shareable link.

Sure, here it is:

If you look at the console in the PG, you’ll see the answer and the recommended fix:

Using the recommended fix: Gizmo potential bug | Babylon.js Playground (