Edges rendering stop working

There seems to be a bug with the edges rendering since 7.36.0. The first call to enableEdgesRendering shows the edges as expected but if you call it a second time it stops drawing the edges. Here is a short playground example showing the bug:

EdgesRenderBug | Babylon.js Playground

1 Like

cc @Evgeni_Popov

This PR will fix the problem:

Thanks a lot. This was realy quick