Skip to content

Commit 2b19a13

Browse files
committed
Merge pull request #3768 from AnalyticalGraphicsInc/use-depth-plane
The depth plane should only be rendered in 3D.
2 parents b937a5c + 38e5c98 commit 2b19a13

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Change Log
2525
* Fixed a crash that would occur if you added and removed an `Entity` with a path without ever actually rendering it. [#3738](https://github.com/AnalyticalGraphicsInc/cesium/pull/3738)
2626
* Added a new sample to Sandcastle using the Pennsylvania terrain data as shown [here](http://cesiumjs.org/2016/03/15/New-Cesium-Terrain-Service-Covering-Pennsylvania/).
2727
* Added infinite horizontal scrolling in 2D.
28+
* Fixed issue causing parts of geometry and billboards/labels to be clipped. [#3748](https://github.com/AnalyticalGraphicsInc/cesium/issues/3748)
2829

2930
### 1.19 - 2016-03-01
3031

Source/Scene/Scene.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ define([
15311531
}
15321532

15331533
var clearGlobeDepth = environmentState.clearGlobeDepth;
1534-
var useDepthPlane = environmentState.clearGlobeDepth;
1534+
var useDepthPlane = environmentState.useDepthPlane;
15351535
var clearDepth = scene._depthClearCommand;
15361536
var depthPlane = scene._depthPlane;
15371537

0 commit comments

Comments
 (0)