MeshLines following the cursor

Hello everyone!
So I think I faced a bug? Idk if it’s happening on purpose. I made a playground in which you can create points and there’s a line that follows the user’s cursor. But if the last sphere that connects the line with the cursor is far away from the viewport (I guess?) line becomes invisible. Videos shows this problem the best:

playground: https://playground.babylonjs.com/#2A8AFJ#29
usage: click on activate dbliclick listener button and then start making sphere by double click.


Hi @Symlis
you can fix it by adding

linesMesh.alwaysSelectAsActiveMesh = true;

whether it is expected behavior or not, i do not know :slight_smile:

https://playground.babylonjs.com/#2A8AFJ#30 (line #72)

Thanks!