Skip to content

Commit

Permalink
don't use undefined bounding sphere
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed Jan 10, 2025
1 parent c534a05 commit f512c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/engine/Source/Widget/CesiumWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ CesiumWidget.prototype._onTick = function (clock) {
}

const entityView = this._entityView;
if (defined(entityView)) {
if (defined(entityView) && defined(entityView.boundingSphere)) {
const trackedEntity = this._trackedEntity;
const trackedState = this._dataSourceDisplay.getBoundingSphere(
trackedEntity,
Expand Down

0 comments on commit f512c58

Please sign in to comment.