uniq frames
This commit is contained in:
parent
5a8461a6c1
commit
2bfc8a154b
@ -349,6 +349,11 @@ CartoCSS.prototype = {
|
|||||||
layer.frames.push(def.frame_offset);
|
layer.frames.push(def.frame_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// uniq the frames
|
||||||
|
for(i = 0; i < ordered_layers.length; ++i) {
|
||||||
|
ordered_layers[i].frames = _.uniq(ordered_layers[i].frames);
|
||||||
|
}
|
||||||
|
|
||||||
return ordered_layers;
|
return ordered_layers;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user