Explorar el Código

Merge pull request #99 from NASA-AMMOS/fix-offscreen-error

Fix case where an empty tile is attempted to be loaded
Garrett Johnson hace 5 años
padre
commit
6d1cb622a7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/base/traverseFunctions.js

+ 1 - 1
src/base/traverseFunctions.js

@@ -246,7 +246,7 @@ export function skipTraversal( tile, renderer ) {
 			tile.__active = true;
 			stats.active ++;
 
-		} else if ( ! lruCache.isFull() ) {
+		} else if ( ! lruCache.isFull() && ! tile.__contentEmpty ) {
 
 			renderer.requestTileContents( tile );