We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ddf803 commit 10291e5Copy full SHA for 10291e5
Source/Scene/PolylineCollection.js
@@ -1457,7 +1457,7 @@ define([
1457
for ( var j = 0; j < numberOfSegments; ++j) {
1458
var segmentLength = segments[j] - 1.0;
1459
for ( var k = 0; k < segmentLength; ++k) {
1460
- if (indicesCount + 4 >= CesiumMath.SIXTY_FOUR_KILOBYTES - 2) {
+ if (indicesCount + 4 > CesiumMath.SIXTY_FOUR_KILOBYTES) {
1461
polyline._locatorBuckets.push({
1462
locator : bucketLocator,
1463
count : segmentIndexCount
@@ -1489,7 +1489,7 @@ define([
1489
1490
});
1491
1492
1493
vertexBufferOffset.push(0);
1494
indices = [];
1495
totalIndices.push(indices);
0 commit comments