Skip to content

Commit

Permalink
fix(LayeredMaterialNodeProcessing): checks for source cache with the …
Browse files Browse the repository at this point in the history
…layer crs for command cancellation
  • Loading branch information
mgermerie authored and gchoqueux committed Jun 4, 2021
1 parent 4c77adf commit 7570cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Process/LayeredMaterialNodeProcessing.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function refinementCommandCancellationFn(cmd) {

// Cancel the command if the layer was removed between command scheduling and command execution
if (!cmd.requester.layerUpdateState[cmd.layer.id]
|| !cmd.layer.source._featuresCaches[cmd.layer.source.crs]) {
|| !cmd.layer.source._featuresCaches[cmd.layer.crs]) {
return true;
}

Expand Down

0 comments on commit 7570cad

Please sign in to comment.