Explorar o código

Fix case where an empty tile is attempted to be loaded

Garrett Johnson %!s(int64=5) %!d(string=hai) anos
pai
achega
f0ee76990f
Modificáronse 1 ficheiros con 1 adicións e 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 );