Skip to content

Commit

Permalink
Fix credits
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed May 29, 2019
1 parent a9d3029 commit 4d7a48d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Change Log
==========

### 1.58 - 2019-06-03

##### Additions :tada:
Expand All @@ -13,6 +14,7 @@ Change Log
* Fixed an edge case where Cesium would provide ion access token credentials to non-ion servers if the actual asset entrypoint was being hosted by ion. [#7839](https://github.com/AnalyticalGraphicsInc/cesium/pull/7839)
* Fixed a bug that caused Cesium to request non-existent tiles for terrain tilesets lacking tile availability, i.e. a `layer.json` file.
* Fixed memory leak when removing entities that had a `HeightReference` of `CLAMP_TO_GROUND` or `RELATIVE_TO_GROUND`. This includes when removing a `DataSource`.
* Fixed 3D Tiles credits not being shown in the data attribution box.

### 1.57 - 2019-05-01

Expand Down
5 changes: 2 additions & 3 deletions Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -3210,6 +3210,7 @@ define([

scene._pickPositionCacheDirty = true;
frameState.creditDisplay.update();
frameState.creditDisplay.beginFrame();
}

function postPassesUpdate(scene) {
Expand All @@ -3218,6 +3219,7 @@ define([
primitives.postPassesUpdate(frameState);

RequestScheduler.update();
frameState.creditDisplay.endFrame();
}

var scratchBackgroundColor = new Color();
Expand Down Expand Up @@ -3245,8 +3247,6 @@ define([
}
frameState.backgroundColor = backgroundColor;

frameState.creditDisplay.beginFrame();

scene.fog.update(frameState);

us.update(frameState);
Expand Down Expand Up @@ -3292,7 +3292,6 @@ define([
}
}

frameState.creditDisplay.endFrame();
context.endFrame();
}

Expand Down

0 comments on commit 4d7a48d

Please sign in to comment.