Skip to content

Commit af2e382

Browse files
authored
Merge pull request #6798 from AnalyticalGraphicsInc/vr-fix-mising-tiles
Fix missing tiles in VR
2 parents 2fa8660 + da8029c commit af2e382

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Change Log
1717
* 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)
1818
* 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)
1919
* Fixed `PolygonGeometry` and `EllipseGeometry` tangent and bitangent attributes when a texture rotation is used [#6788](https://github.com/AnalyticalGraphicsInc/cesium/pull/6788)
20+
* Fixed an issue where tiles were missing in VR mode. [#6612](https://github.com/AnalyticalGraphicsInc/cesium/issues/6612)
2021

2122
### 1.47 - 2018-07-02
2223

Source/Scene/Scene.js

+1
Original file line numberDiff line numberDiff line change
@@ -2673,6 +2673,7 @@ define([
26732673
viewport.height = context.drawingBufferHeight;
26742674

26752675
var savedCamera = Camera.clone(camera, scene._cameraVR);
2676+
savedCamera.frustum = camera.frustum;
26762677

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

0 commit comments

Comments
 (0)