Hi.
The setup is simple:
- there’s a control linked to a mesh representing an anchor, with zIndex 2
- there’s a line connected to the control, it’s with zIndex 1, so that it’s below the anchor.
https://playground.babylonjs.com/#5SVAQB#3
Initially it is drawn fine, but then mesh moves (by key ‘Space’ in the playground), everything get redrawn and the line got clipped at random places, somethimes it’s completely not rendered.
That happens with Ellipse and Rectangle as anchors.
That does not happen with my custom control MyDot or built-in TextBlock.
But they both produce another bug with infinite relayout somehow.