File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,7 @@ define([
631631 }
632632
633633 var clippingPlanes = this . _clippingPlanes ;
634- if ( defined ( clippingPlanes ) && clippingPlanes . enabled ) {
634+ if ( defined ( clippingPlanes ) && clippingPlanes . enabled && defined ( boundingVolume ) ) {
635635 var planeIntersection = clippingPlanes . computeIntersectionWithBoundingVolume ( boundingVolume ) ;
636636 tile . isClipped = ( planeIntersection !== Intersect . INSIDE ) ;
637637 if ( planeIntersection === Intersect . OUTSIDE ) {
@@ -645,8 +645,6 @@ define([
645645 if ( intersection === Intersect . OUTSIDE ) {
646646 return Visibility . NONE ;
647647 }
648- } else {
649- console . log ( 'no bounding volume' ) ;
650648 }
651649
652650 var ortho3D = frameState . mode === SceneMode . SCENE3D && frameState . camera . frustum instanceof OrthographicFrustum ;
You can’t perform that action at this time.
0 commit comments