Skip to content

Commit 3f81df1

Browse files
committed
Use defined
1 parent 164dc7a commit 3f81df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Scene/ImageryLayer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ ImageryLayer.prototype.queueReprojectionCommands = function (frameState) {
12731273
*/
12741274
ImageryLayer.prototype.cancelReprojections = function () {
12751275
this._reprojectComputeCommands.forEach(function (command) {
1276-
if (command.canceled) {
1276+
if (defined(command.canceled)) {
12771277
command.canceled();
12781278
}
12791279
});

0 commit comments

Comments
 (0)