Skip to content

Commit

Permalink
Fix dashedarray long segment test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wojciechowski committed Aug 18, 2016
1 parent a6dd2ae commit 62564e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/render/draw_line.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ function drawLines(painter, source, layer, coords, programName, onProgramChange,
var coord = coords[j];
var tile = source.getTile(coord);
var bucket = tile.getBucket(layer);
if (!bucket) return;
if (!bucket) continue;
var groups = bucket.bufferGroups.line;
if (!groups) return;
if (!groups) continue;

var programOptions = bucket.paintAttributes.line[layer.id];
var program = painter.useProgram(
Expand Down

0 comments on commit 62564e8

Please sign in to comment.