Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the case where mesh2shape returns null
This can happen, for instance, when a gltf-model has not finished loading, hence a bounding box cannot be calculated. We try again after the object3D has been set in this case, the same as when "shape" is missing.
- Loading branch information