Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix geometry tiles in IE. #6406

Merged
merged 2 commits into from
Apr 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Change Log
* Fixed occlusion when `globe.show` is `false`. [#6374](https://github.com/AnalyticalGraphicsInc/cesium/pull/6374)
* Fixed double-sided flag for glTF materials with `BLEND` enabled. [#6371](https://github.com/AnalyticalGraphicsInc/cesium/pull/6371)
* Fixed crash for entities with static geometry and time-dynamic attributes [#6377](https://github.com/AnalyticalGraphicsInc/cesium/pull/6377)
* Fix geometry tile rendering in IE. [#6406](https://github.com/AnalyticalGraphicsInc/cesium/pull/6406)

### 1.43 - 2018-03-01

Expand Down
16 changes: 8 additions & 8 deletions Source/Workers/createVectorTileGeometries.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,14 @@ define([
}

function createVectorTileGeometries(parameters, transferableObjects) {
var boxes = new Float32Array(parameters.boxes);
var boxBatchIds = new Uint16Array(parameters.boxBatchIds);
var cylinders = new Float32Array(parameters.cylinders);
var cylinderBatchIds = new Uint16Array(parameters.cylinderBatchIds);
var ellipsoids = new Float32Array(parameters.ellipsoids);
var ellipsoidBatchIds = new Uint16Array(parameters.ellipsoidBatchIds);
var spheres = new Float32Array(parameters.spheres);
var sphereBatchIds = new Uint16Array(parameters.sphereBatchIds);
var boxes = defined(parameters.boxes) ? new Float32Array(parameters.boxes) : undefined;
var boxBatchIds = defined(parameters.boxBatchIds) ? new Uint16Array(parameters.boxBatchIds) : undefined;
var cylinders = defined(parameters.cylinders) ? new Float32Array(parameters.cylinders) : undefined;
var cylinderBatchIds = defined(parameters.cylinderBatchIds) ? new Uint16Array(parameters.cylinderBatchIds) : undefined;
var ellipsoids = defined(parameters.ellipsoids) ? new Float32Array(parameters.ellipsoids) : undefined;
var ellipsoidBatchIds = defined(parameters.ellipsoidBatchIds) ? new Uint16Array(parameters.ellipsoidBatchIds) : undefined;
var spheres = defined(parameters.spheres) ? new Float32Array(parameters.spheres) : undefined;
var sphereBatchIds = defined(parameters.sphereBatchIds) ? new Uint16Array(parameters.sphereBatchIds) : undefined;

var numberOfBoxes = defined(boxes) ? boxBatchIds.length : 0;
var numberOfCylinders = defined(cylinders) ? cylinderBatchIds.length : 0;
Expand Down