Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Replace undefined with null as default for index for BufferGeometry #208

Merged
merged 1 commit into from Jan 8, 2018

Conversation

johnmarinelli
Copy link
Contributor

THREE.js uses an explicit type check for index as null in BufferGeometry. If it's null, it'll use a default setting. However, undefined throws an error.

@toxicFork
Copy link
Collaborator

Good catch, thank you for the PR :D

@toxicFork toxicFork merged commit 80e2341 into firtoz:master Jan 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants