bruce-cesium 6.8.3 → 6.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bruce-cesium.es5.js +16 -12
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +14 -10
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-datalab-render-manager.js +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-datalab-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-cad-render-manager.js +4 -3
- package/dist/lib/rendering/render-managers/tilesets/tileset-cad-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-entities-render-manager.js +7 -4
- package/dist/lib/rendering/render-managers/tilesets/tileset-entities-render-manager.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/package.json +2 -2
package/dist/bruce-cesium.umd.js
CHANGED
|
@@ -10675,7 +10675,7 @@
|
|
|
10675
10675
|
if ((_a = payload.renderQueue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
10676
10676
|
this.distributeForRender(payload.renderQueue);
|
|
10677
10677
|
}
|
|
10678
|
-
this.
|
|
10678
|
+
this.ReRender({ entityIds: Object.keys(this.renderedEntities), force: true });
|
|
10679
10679
|
this.viewer.scene.requestRender();
|
|
10680
10680
|
}
|
|
10681
10681
|
}
|
|
@@ -14506,7 +14506,7 @@
|
|
|
14506
14506
|
}
|
|
14507
14507
|
// Returns null (fall back to a normal Dispose()) if the tileset hasn't finished loading yet.
|
|
14508
14508
|
PrepareHandoff() {
|
|
14509
|
-
var _a, _b;
|
|
14509
|
+
var _a, _b, _c;
|
|
14510
14510
|
if (this.disposed || !this.cTileset || this.cTileset.isDestroyed()) {
|
|
14511
14511
|
return null;
|
|
14512
14512
|
}
|
|
@@ -14524,8 +14524,9 @@
|
|
|
14524
14524
|
}
|
|
14525
14525
|
// Not transferred, the receiving manager sets up its own fresh copy if needed.
|
|
14526
14526
|
this.viewerDateTimeDispose();
|
|
14527
|
-
(_a = this.
|
|
14528
|
-
(_b = this.
|
|
14527
|
+
(_a = this.styler) === null || _a === void 0 ? void 0 : _a.Dispose();
|
|
14528
|
+
(_b = this.tileLoadRemoval) === null || _b === void 0 ? void 0 : _b.call(this);
|
|
14529
|
+
(_c = this.tileUnloadRemoval) === null || _c === void 0 ? void 0 : _c.call(this);
|
|
14529
14530
|
this.tileLoadRemoval = null;
|
|
14530
14531
|
this.tileUnloadRemoval = null;
|
|
14531
14532
|
const payload = {
|
|
@@ -17091,7 +17092,7 @@
|
|
|
17091
17092
|
if ((_a = payload.renderQueue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
17092
17093
|
this.distributeForRender(payload.renderQueue);
|
|
17093
17094
|
}
|
|
17094
|
-
this.
|
|
17095
|
+
this.ReRender({ entityIds: Object.keys(this.renderedEntities), force: true });
|
|
17095
17096
|
this.viewer.scene.requestRender();
|
|
17096
17097
|
}
|
|
17097
17098
|
}
|
|
@@ -18315,11 +18316,13 @@
|
|
|
18315
18316
|
return null;
|
|
18316
18317
|
}
|
|
18317
18318
|
const accountId = ((_b = item.tileset) === null || _b === void 0 ? void 0 : _b.ClientAccountID) || "";
|
|
18318
|
-
|
|
18319
|
+
// Styled <-> unstyled has no cheap revert path, force a reload instead.
|
|
18320
|
+
const applyStyles = Boolean(item.ApplyStyles);
|
|
18321
|
+
return `${accountId}:${tilesetId}:${applyStyles}`;
|
|
18319
18322
|
}
|
|
18320
18323
|
// Returns null (fall back to a normal Dispose()) if the tileset hasn't finished loading yet.
|
|
18321
18324
|
PrepareHandoff() {
|
|
18322
|
-
var _a, _b;
|
|
18325
|
+
var _a, _b, _c;
|
|
18323
18326
|
if (this.disposed || !this.cTileset || this.cTileset.isDestroyed()) {
|
|
18324
18327
|
return null;
|
|
18325
18328
|
}
|
|
@@ -18335,8 +18338,9 @@
|
|
|
18335
18338
|
clearInterval(this.handoffRestyleInterval);
|
|
18336
18339
|
this.handoffRestyleInterval = null;
|
|
18337
18340
|
}
|
|
18338
|
-
(_a = this.
|
|
18339
|
-
(_b = this.
|
|
18341
|
+
(_a = this.styler) === null || _a === void 0 ? void 0 : _a.Dispose();
|
|
18342
|
+
(_b = this.tileLoadRemoval) === null || _b === void 0 ? void 0 : _b.call(this);
|
|
18343
|
+
(_c = this.tileUnloadRemoval) === null || _c === void 0 ? void 0 : _c.call(this);
|
|
18340
18344
|
this.tileLoadRemoval = null;
|
|
18341
18345
|
this.tileUnloadRemoval = null;
|
|
18342
18346
|
const payload = {
|
|
@@ -37444,7 +37448,7 @@
|
|
|
37444
37448
|
StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
|
|
37445
37449
|
})(exports.StyleUtils || (exports.StyleUtils = {}));
|
|
37446
37450
|
|
|
37447
|
-
const VERSION = "6.8.
|
|
37451
|
+
const VERSION = "6.8.5";
|
|
37448
37452
|
/**
|
|
37449
37453
|
* Updates the environment instance used by bruce-cesium to one specified.
|
|
37450
37454
|
* This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
|