diff --git a/Apps/Sandcastle/gallery/Labels.html b/Apps/Sandcastle/gallery/Labels.html index 24258dae0a0a..bed73ebba383 100644 --- a/Apps/Sandcastle/gallery/Labels.html +++ b/Apps/Sandcastle/gallery/Labels.html @@ -5,15 +5,17 @@ - + Cesium Demo diff --git a/Source/Core/EllipsoidGeometry.js b/Source/Core/EllipsoidGeometry.js index b496942864d0..8b3e6f45c8cf 100644 --- a/Source/Core/EllipsoidGeometry.js +++ b/Source/Core/EllipsoidGeometry.js @@ -317,8 +317,8 @@ define([ var vertexCount = numThetas * numPhis * vertexMultiplier; var positions = new Float64Array(vertexCount * 3); - var isInner = new Array(vertexCount).fill(false); - var negateNormal = new Array(vertexCount).fill(false); + var isInner = arrayFill(new Array(vertexCount), false); + var negateNormal = arrayFill(new Array(vertexCount), false); // Multiply by 6 because there are two triangles per sector var indexCount = slicePartitions * stackPartitions * vertexMultiplier;