Skip to content

Commit

Permalink
Merge pull request #6798 from AnalyticalGraphicsInc/vr-fix-mising-tiles
Browse files Browse the repository at this point in the history
Fix missing tiles in VR
  • Loading branch information
lilleyse committed Jul 12, 2018
2 parents 2fa8660 + da8029c commit af2e382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Change Log
* Fixed a bug that was preventing 3D Tilesets on the opposite side of the globe from being occluded [#6714](https://github.com/AnalyticalGraphicsInc/cesium/issues/6714)
* Fixed a bug where 3D Tilesets using the `region` bounding volume don't get transformed when the tileset's `modelMatrix` changes. [6755](https://github.com/AnalyticalGraphicsInc/cesium/pull/6755)
* Fixed `PolygonGeometry` and `EllipseGeometry` tangent and bitangent attributes when a texture rotation is used [#6788](https://github.com/AnalyticalGraphicsInc/cesium/pull/6788)
* Fixed an issue where tiles were missing in VR mode. [#6612](https://github.com/AnalyticalGraphicsInc/cesium/issues/6612)

### 1.47 - 2018-07-02

Expand Down
1 change: 1 addition & 0 deletions Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -2673,6 +2673,7 @@ define([
viewport.height = context.drawingBufferHeight;

var savedCamera = Camera.clone(camera, scene._cameraVR);
savedCamera.frustum = camera.frustum;

var near = camera.frustum.near;
var fo = near * defaultValue(scene.focalLength, 5.0);
Expand Down

0 comments on commit af2e382

Please sign in to comment.