Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/traces/parcoords/lines.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function setAttributes(attributes, sampleCount, points) {
function emptyAttributes(regl) {
var attributes = {};
for(var i = 0; i < 16; i++) {
attributes['p' + i.toString(16)] = regl.buffer({usage: 'dynamic', type: 'float', data: null});
attributes['p' + i.toString(16)] = regl.buffer({usage: 'dynamic', type: 'float', data: new Uint8Array()});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be new Uint8Array(0) just like you did in:

gl-vis/regl-scatter2d@c1183ef#diff-f0cb24e401db59c6759d5cb577e58cebR403

}
return attributes;
}
Expand Down