bruce-cesium 3.9.3 → 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;
@@ -24094,7 +24098,7 @@
24094
24098
  ViewRenderEngine.Render = Render;
24095
24099
  })(exports.ViewRenderEngine || (exports.ViewRenderEngine = {}));
24096
24100
 
24097
- var VERSION = "3.9.3";
24101
+ var VERSION = "3.9.4";
24098
24102
 
24099
24103
  exports.VERSION = VERSION;
24100
24104
  exports.CesiumParabola = CesiumParabola;