Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples: Dispose geometry & material when not used anymore. #23002

Merged
merged 1 commit into from
Dec 11, 2021

Conversation

gero3
Copy link
Contributor

@gero3 gero3 commented Dec 11, 2021

Description
When deleting an object, this cleans up the geometry & material by properly disposing of them.

@Mugen87 Mugen87 added this to the r136 milestone Dec 11, 2021
@Mugen87 Mugen87 merged commit 8f22ee5 into mrdoob:dev Dec 11, 2021
@mrdoob
Copy link
Owner

mrdoob commented Dec 11, 2021

Thanks!

@donmccurdy donmccurdy changed the title Dispose geometry & material when not used anymore. Examples: Dispose geometry & material when not used anymore. Dec 11, 2021
gero3 added a commit to gero3/three.js that referenced this pull request Dec 13, 2021
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.

3 participants