Skip to content

Commit

Permalink
Use defined
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Oct 1, 2020
1 parent 164dc7a commit 3f81df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Scene/ImageryLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ ImageryLayer.prototype.queueReprojectionCommands = function (frameState) {
*/
ImageryLayer.prototype.cancelReprojections = function () {
this._reprojectComputeCommands.forEach(function (command) {
if (command.canceled) {
if (defined(command.canceled)) {
command.canceled();
}
});
Expand Down

0 comments on commit 3f81df1

Please sign in to comment.