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

Bug in GeometryDescriptorBase.js #180

Closed
alexhisen opened this issue May 13, 2017 · 1 comment
Closed

Bug in GeometryDescriptorBase.js #180

alexhisen opened this issue May 13, 2017 · 1 comment
Labels

Comments

@alexhisen
Copy link

line 48:
PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.arrayOf(THREE.Vector2))),
should instead be:
PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.arrayOf(propTypeInstanceOf(THREE.Vector2)))),

Currently it's causing Vector2() to be called as a function which results in a "cannot set property 'x' of undefined" error

@toxicFork toxicFork added the bug label May 14, 2017
@toxicFork
Copy link
Collaborator

Thank you for the report :)

toxicFork pushed a commit that referenced this issue Jul 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants