Skip to content

Recommand to use sphere.releaseSubMeshes() instead of sphere.subMeshes = [] to prevent leak of SubMesh#1536

Open
barroij wants to merge 1 commit intoBabylonJS:masterfrom
barroij:multimat-releaseSubMeshes
Open

Recommand to use sphere.releaseSubMeshes() instead of sphere.subMeshes = [] to prevent leak of SubMesh#1536
barroij wants to merge 1 commit intoBabylonJS:masterfrom
barroij:multimat-releaseSubMeshes

Conversation

@barroij
Copy link

@barroij barroij commented Mar 10, 2026

No description provided.

@barroij barroij changed the title Recommand to use sphere.releaseSubMeshes() isntead of sphere.subMeshes = [] to prevent leak of SubMesh Recommand to use sphere.releaseSubMeshes() instead of sphere.subMeshes = [] to prevent leak of SubMesh Mar 10, 2026
Copy link
Member

@RaananW RaananW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES! thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants