Skip to content

don't override THREE.InstancedMesh#39

Open
trusktr wants to merge 1 commit intopailhead:masterfrom
lume:dont-override-THREE.InstancedMesh
Open

don't override THREE.InstancedMesh#39
trusktr wants to merge 1 commit intopailhead:masterfrom
lume:dont-override-THREE.InstancedMesh

Conversation

@trusktr
Copy link

@trusktr trusktr commented Oct 23, 2020

This fixes some issue with newer three.js, where three.js manages to overwrite THREE.InstancedMesh with its own one (didn't happen before I updated from r108 to r121).

It is probably better to rely on the return value of three-instanced-mesh, and for it not to override three.js API (I presume at the time this lib was made there was no THREE.InstancedMesh.

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.

1 participant