|
@@ -245,7 +245,7 @@ Mesh.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
|
|
|
// Check boundingBox before continuing
|
|
// Check boundingBox before continuing
|
|
|
|
|
|
- if ( geometry.boundingBox === null ) geometry.computeBoundingBox();
|
|
|
|
|
|
+ if ( geometry.boundingBox === null ) return;
|
|
|
|
|
|
if ( ray.intersectsBox( geometry.boundingBox ) === false ) return;
|
|
if ( ray.intersectsBox( geometry.boundingBox ) === false ) return;
|
|
|
|
|