diff --git a/include/osg/Drawable b/include/osg/Drawable index d75d7b4ca..9f14686af 100644 --- a/include/osg/Drawable +++ b/include/osg/Drawable @@ -152,7 +152,11 @@ class OSG_EXPORT Drawable : public Node _boundingSphereComputed = true; } - _boundingSphere.set(_boundingBox.center(), _boundingBox.radius()); + if(_boundingBox.valid()){ + _boundingSphere.set(_boundingBox.center(), _boundingBox.radius()); + } else { + _boundingSphere.init(); + } return _boundingBox; }