|
@@ -116,9 +116,13 @@ THREE.Box3.prototype = {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- box.copy( geometry.boundingBox );
|
|
|
|
- box.applyMatrix4( node.matrixWorld );
|
|
|
|
- scope.union( box );
|
|
|
|
|
|
+ if ( ! geometry.boundingBox.isEmpty() ) {
|
|
|
|
+
|
|
|
|
+ box.copy( geometry.boundingBox );
|
|
|
|
+ box.applyMatrix4( node.matrixWorld );
|
|
|
|
+ scope.union( box );
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|