GUI Control zIndex Update Unlinks Mesh

Repro:

  • load playground
  • wait for one second
  • the linked label will turn red and no longer maintain its linkage to the sphere

You can click the label to re-link it.

This unlink happens when the zIndex is updated (see the unlink function).

cc @carolhmj

1 Like

PR up! If controls are reordered, relink them to mesh by carolhmj · Pull Request #12743 · BabylonJS/Babylon.js (github.com)

3 Likes