Skip to content

Commit 943fe93

Browse files
authored
Merge pull request #6820 from AnalyticalGraphicsInc/fix-height-callback
Fix clamping when switching terrain providers
2 parents 58ef208 + 210f1a3 commit 943fe93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Change Log
2323
* Fixed an issue where glTF 2.0 models sometimes wouldn't be centered in the view after putting the camera on them. [#6784](https://github.com/AnalyticalGraphicsInc/cesium/issues/6784)
2424
* Fixed a bug that caused eye dome lighting for point clouds to fail in Safari on macOS and Edge on Windows by removing the dependency on floating point color textures. [#6792](https://github.com/AnalyticalGraphicsInc/cesium/issues/6792)
2525
* Fixed a bug that caused polylines on terrain to render incorrectly in 2D and Columbus View with a `WebMercatorProjection`. [#6809](https://github.com/AnalyticalGraphicsInc/cesium/issues/6809)
26+
* Fixed bug where entities with a height reference weren't being updated correctly when the terrain provider was changed. [#6820](https://github.com/AnalyticalGraphicsInc/cesium/pull/6820)
2627
* Fixed a bug that caused billboard positions to be set incorrectly when using a `CallbackProperty`. [#6815](https://github.com/AnalyticalGraphicsInc/cesium/pull/6815)
2728

2829
### 1.47 - 2018-07-02

Source/Scene/QuadtreePrimitive.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -833,9 +833,8 @@ define([
833833
var position = tile.data.pick(scratchRay, mode, projection, false, scratchPosition);
834834
if (defined(position)) {
835835
data.callback(position);
836+
data.level = tile.level;
836837
}
837-
838-
data.level = tile.level;
839838
} else if (tile.level === data.level) {
840839
var children = tile.children;
841840
var childrenLength = children.length;

0 commit comments

Comments
 (0)