Edges of source Mesh still displayed if at least one instance is enabled

Hi Everyone !

I am currently working on a project with a lot a edges renderer meshes (“real” meshes and instances).
I have an issue when I disable a source mesh => its edges keep being displayed if at least one of its instance is still enabled.

Here is a PG :

I have not found existing topic about that in the forum but it may be related to this one ?

Is this the expected behavior ?

Thanks for your answers !

On it! It is a bug:)

Fix edge renderer by deltakosh · Pull Request #15048 · BabylonJS/Babylon.js (github.com)

2 Likes

Thanks a lot for the quick fix !

1 Like