Skip to content

Commit

Permalink
Merge pull request #8766 from virtualcitySYSTEMS/fixNullpointer
Browse files Browse the repository at this point in the history
add nullpointer check
  • Loading branch information
Hannah authored May 4, 2020
2 parents 9fb39ba + 4ecfa18 commit e5ea83c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/Scene/BillboardCollection.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,9 @@ function BillboardCollection(options) {
var billboards = this._billboards;
var length = billboards.length;
for (var i = 0; i < length; ++i) {
billboards[i]._updateClamping();
if (defined(billboards[i])) {
billboards[i]._updateClamping();
}
}
},
this
Expand Down

0 comments on commit e5ea83c

Please sign in to comment.