Переглянути джерело

Add better log for failed tileset load

Garrett Johnson 4 роки тому
батько
коміт
f88ed27da6

+ 2 - 2
example/bundle/b3dmExample.d88db709.js

@@ -38607,7 +38607,7 @@ function () {
           }
 
           stats.failed++;
-          console.error('TilesRenderer : Failed to load tile.');
+          console.error("TilesRenderer : Failed to load tile at url \"".concat(tile.content.uri, "\"."));
           console.error(e);
           tile.__loadingState = _constants.FAILED;
         } else {
@@ -45143,7 +45143,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/b3dmExample.d88db709.js.map


+ 1 - 1
example/bundle/b3dmExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/b3dmExample.js.map


+ 2 - 2
example/bundle/cmptExample.4b2a3f0d.js

@@ -38607,7 +38607,7 @@ function () {
           }
 
           stats.failed++;
-          console.error('TilesRenderer : Failed to load tile.');
+          console.error("TilesRenderer : Failed to load tile at url \"".concat(tile.content.uri, "\"."));
           console.error(e);
           tile.__loadingState = _constants.FAILED;
         } else {
@@ -45058,7 +45058,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/cmptExample.4b2a3f0d.js.map


+ 1 - 1
example/bundle/cmptExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/cmptExample.js.map


+ 2 - 2
example/bundle/customMaterial.dd39ecee.js

@@ -38607,7 +38607,7 @@ function () {
           }
 
           stats.failed++;
-          console.error('TilesRenderer : Failed to load tile.');
+          console.error("TilesRenderer : Failed to load tile at url \"".concat(tile.content.uri, "\"."));
           console.error(e);
           tile.__loadingState = _constants.FAILED;
         } else {
@@ -48277,7 +48277,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/customMaterial.dd39ecee.js.map


+ 1 - 1
example/bundle/customMaterial.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/customMaterial.js.map


+ 2 - 2
example/bundle/example.e31bb0bc.js

@@ -38607,7 +38607,7 @@ function () {
           }
 
           stats.failed++;
-          console.error('TilesRenderer : Failed to load tile.');
+          console.error("TilesRenderer : Failed to load tile at url \"".concat(tile.content.uri, "\"."));
           console.error(e);
           tile.__loadingState = _constants.FAILED;
         } else {
@@ -49588,7 +49588,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/example.e31bb0bc.js.map


+ 2 - 2
example/bundle/i3dmExample.c6cc930a.js

@@ -38607,7 +38607,7 @@ function () {
           }
 
           stats.failed++;
-          console.error('TilesRenderer : Failed to load tile.');
+          console.error("TilesRenderer : Failed to load tile at url \"".concat(tile.content.uri, "\"."));
           console.error(e);
           tile.__loadingState = _constants.FAILED;
         } else {
@@ -45086,7 +45086,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/i3dmExample.c6cc930a.js.map


+ 1 - 1
example/bundle/i3dmExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/i3dmExample.js.map


+ 1 - 1
example/bundle/index.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/index.js.map


+ 2 - 2
example/bundle/offscreenShadows.ce0529e7.js

@@ -38607,7 +38607,7 @@ function () {
           }
 
           stats.failed++;
-          console.error('TilesRenderer : Failed to load tile.');
+          console.error("TilesRenderer : Failed to load tile at url \"".concat(tile.content.uri, "\"."));
           console.error(e);
           tile.__loadingState = _constants.FAILED;
         } else {
@@ -48217,7 +48217,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/offscreenShadows.ce0529e7.js.map


+ 1 - 1
example/bundle/offscreenShadows.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/offscreenShadows.js.map


+ 2 - 2
example/bundle/pntsExample.1cabf3ff.js

@@ -38607,7 +38607,7 @@ function () {
           }
 
           stats.failed++;
-          console.error('TilesRenderer : Failed to load tile.');
+          console.error("TilesRenderer : Failed to load tile at url \"".concat(tile.content.uri, "\"."));
           console.error(e);
           tile.__loadingState = _constants.FAILED;
         } else {
@@ -45058,7 +45058,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/pntsExample.1cabf3ff.js.map


+ 1 - 1
example/bundle/pntsExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "62159" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "63111" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
example/bundle/pntsExample.js.map


+ 1 - 1
src/base/TilesRendererBase.js

@@ -404,7 +404,7 @@ export class TilesRendererBase {
 
 				stats.failed ++;
 
-				console.error( 'TilesRenderer : Failed to load tile.' );
+				console.error( `TilesRenderer : Failed to load tile at url "${ tile.content.uri }".` );
 				console.error( e );
 				tile.__loadingState = FAILED;