bruce-cesium 3.9.2 → 3.9.4

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.
@@ -6448,11 +6448,15 @@
6448
6448
  recordHeightRef: heightRef,
6449
6449
  returnHeightRef: heightRef
6450
6450
  });
6451
+ /*
6452
+ We used to avoid clamp-to-ground on 3D models as Cesium had bugs with it.
6453
+
6451
6454
  if (heightRef == Cesium.HeightReference.CLAMP_TO_GROUND) {
6452
- var carto = Cesium.Cartographic.fromCartesian(pos3d);
6455
+ const carto = Cesium.Cartographic.fromCartesian(pos3d);
6453
6456
  pos3d = Cesium.Cartesian3.fromRadians(EnsureNumber(carto.longitude), EnsureNumber(carto.latitude), 0);
6454
6457
  heightRef = Cesium.HeightReference.RELATIVE_TO_GROUND;
6455
6458
  }
6459
+ */
6456
6460
  var blendMode = null;
6457
6461
  var blendAmount = null;
6458
6462
  var color = null;
@@ -15182,7 +15186,7 @@
15182
15186
  sourceAccountId: (_b = this.item.tileset) === null || _b === void 0 ? void 0 : _b.ClientAccountID,
15183
15187
  tilesetId: tilesetId,
15184
15188
  forAccountId: this.getters.GetAccountId(),
15185
- api: this.getters.GetGlobalApi()
15189
+ getters: this.getters
15186
15190
  })];
15187
15191
  case 2:
15188
15192
  canAccess = _g.sent();
@@ -15433,7 +15437,7 @@
15433
15437
  sourceAccountId: (_b = this.item.tileset) === null || _b === void 0 ? void 0 : _b.ClientAccountID,
15434
15438
  tilesetId: tilesetId,
15435
15439
  forAccountId: this.getters.GetAccountId(),
15436
- api: this.getters.GetGlobalApi()
15440
+ getters: this.getters
15437
15441
  })];
15438
15442
  case 2:
15439
15443
  canAccess = _f.sent();
@@ -15789,7 +15793,7 @@
15789
15793
  sourceAccountId: (_f = this.item.tileset) === null || _f === void 0 ? void 0 : _f.ClientAccountID,
15790
15794
  tilesetId: tilesetId,
15791
15795
  forAccountId: this.getters.GetAccountId(),
15792
- api: this.getters.GetGlobalApi()
15796
+ getters: this.getters
15793
15797
  })];
15794
15798
  case 2:
15795
15799
  canAccess = _p.sent();
@@ -24094,7 +24098,7 @@
24094
24098
  ViewRenderEngine.Render = Render;
24095
24099
  })(exports.ViewRenderEngine || (exports.ViewRenderEngine = {}));
24096
24100
 
24097
- var VERSION = "3.9.2";
24101
+ var VERSION = "3.9.4";
24098
24102
 
24099
24103
  exports.VERSION = VERSION;
24100
24104
  exports.CesiumParabola = CesiumParabola;