aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/share/javax/media/j3d/BoundingSphere.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/share/javax/media/j3d/BoundingSphere.java b/src/classes/share/javax/media/j3d/BoundingSphere.java
index cc1a167..2bf17a6 100644
--- a/src/classes/share/javax/media/j3d/BoundingSphere.java
+++ b/src/classes/share/javax/media/j3d/BoundingSphere.java
@@ -88,7 +88,7 @@ public BoundingSphere(Bounds boundsObject) {
boundId = BOUNDING_SPHERE;
center = new Point3d();
- if (boundsObject == null) {
+ if (boundsObject == null || boundsObject.boundsIsEmpty) {
setEmptyBounds();
return;
}