Browse Source

Revert variable name change

Garrett Johnson 4 years ago
parent
commit
f41a25dec1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/base/TilesRendererBase.js

+ 1 - 2
src/base/TilesRendererBase.js

@@ -478,7 +478,7 @@ export class TilesRendererBase {
 					}
 
 				} )
-				.then( data => {
+				.then( buffer => {
 
 					// if it has been unloaded then the tile has been disposed
 					if ( tile.__loadIndex !== loadIndex ) {
@@ -492,7 +492,6 @@ export class TilesRendererBase {
 					tile.__loadAbort = null;
 					tile.__loadingState = PARSING;
 
-					const buffer = data;
 					return parseQueue.add( tile, tile => {
 
 						// if it has been unloaded then the tile has been disposed