|
@@ -49118,16 +49118,16 @@ function reinstantiateTiles() {
|
|
|
if (tiles) {
|
|
|
offsetParent.remove(tiles.group);
|
|
|
tiles.dispose();
|
|
|
- }
|
|
|
+ } // Note the DRACO compression files need to be supplied via an explicit source.
|
|
|
+ // We use unpkg here but in practice should be provided by the application.
|
|
|
+
|
|
|
|
|
|
+ var dracoLoader = new _DRACOLoader.DRACOLoader();
|
|
|
+ dracoLoader.setDecoderPath('https://unpkg.com/three@0.116.1/examples/js/libs/draco/gltf/');
|
|
|
tiles = new _index.DebugTilesRenderer(url);
|
|
|
tiles.fetchOptions.mode = 'cors';
|
|
|
tiles.manager.addHandler(/\.gltf$/, {
|
|
|
parse: function parse() {
|
|
|
- // Note the DRACO compression files need to be supplied via an explicit source.
|
|
|
- // We use unpkg here but in practice should be provided by the application.
|
|
|
- var dracoLoader = new _DRACOLoader.DRACOLoader();
|
|
|
- dracoLoader.setDecoderPath('https://unpkg.com/three@0.116.1/examples/js/libs/draco/gltf/');
|
|
|
var loader = new _GLTFLoader.GLTFLoader(tiles.manager);
|
|
|
loader.setDRACOLoader(dracoLoader);
|
|
|
return loader.parse.apply(loader, arguments);
|
|
@@ -49599,7 +49599,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 + ':' + "57376" + '/');
|
|
|
+ var ws = new WebSocket(protocol + '://' + hostname + ':' + "62977" + '/');
|
|
|
|
|
|
ws.onmessage = function (event) {
|
|
|
checkedAssets = {};
|