bruce-cesium 6.8.4 → 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.
@@ -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.doEntityCheck(Object.keys(this.renderedEntities));
10678
+ this.ReRender({ entityIds: Object.keys(this.renderedEntities), force: true });
10679
10679
  this.viewer.scene.requestRender();
10680
10680
  }
10681
10681
  }
@@ -17092,7 +17092,7 @@
17092
17092
  if ((_a = payload.renderQueue) === null || _a === void 0 ? void 0 : _a.length) {
17093
17093
  this.distributeForRender(payload.renderQueue);
17094
17094
  }
17095
- this.doEntityCheck(Object.keys(this.renderedEntities));
17095
+ this.ReRender({ entityIds: Object.keys(this.renderedEntities), force: true });
17096
17096
  this.viewer.scene.requestRender();
17097
17097
  }
17098
17098
  }
@@ -18316,7 +18316,9 @@
18316
18316
  return null;
18317
18317
  }
18318
18318
  const accountId = ((_b = item.tileset) === null || _b === void 0 ? void 0 : _b.ClientAccountID) || "";
18319
- return `${accountId}:${tilesetId}`;
18319
+ // Styled <-> unstyled has no cheap revert path, force a reload instead.
18320
+ const applyStyles = Boolean(item.ApplyStyles);
18321
+ return `${accountId}:${tilesetId}:${applyStyles}`;
18320
18322
  }
18321
18323
  // Returns null (fall back to a normal Dispose()) if the tileset hasn't finished loading yet.
18322
18324
  PrepareHandoff() {
@@ -37446,7 +37448,7 @@
37446
37448
  StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
37447
37449
  })(exports.StyleUtils || (exports.StyleUtils = {}));
37448
37450
 
37449
- const VERSION = "6.8.4";
37451
+ const VERSION = "6.8.5";
37450
37452
  /**
37451
37453
  * Updates the environment instance used by bruce-cesium to one specified.
37452
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.