getClassName() in Gizmos code

Hi :slight_smile:

I notised the getClassName() checks in gizmo code in 4.2.0-Alpha fails on bjs propriatary mesh class, “GroundMesh” from BABYLON.MeshBuilder.CreateGround().
(Note, GroundMesh is visually transformed by the gizmo, but matrix is never updated,
e.g. mesh.position will continue to return 0,0,0).

This one is for @Cedric

Indeed! That’s for me. Taking a look…

PR : fix gizmo update for some meshes like GroundMesh by CedricGuillemet · Pull Request #8666 · BabylonJS/Babylon.js · GitHub

2 Likes

Merged