Adding Material to LinesMesh results in Bug in ClipPlane

Hi,

I’ve stumbled across an error and I believe it might be a bug:
If I add a material to a LinesMesh and apply a ClipPlane to my scene it will break the scene & not render anything.
Example Playground: Babylon.js Playground
Commenting out line 15 will allow the scene to render again.

2 Likes

Welcome aboard!

Here’s the fix for this problem:

This PG will work once the fix is merged:
https://playground.babylonjs.com/#S8K7T3#4

3 Likes

That was astonishingly fast! Thanks a bunch :sunflower:

3 Likes