Skip to content

Commit f1772a2

Browse files
committed
check for vertex data only
1 parent 33e2b9a commit f1772a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/mesh3d/defaults.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
3434
}
3535

3636
var coords = readComponents(['x', 'y', 'z']);
37-
var indices = readComponents(['i', 'j', 'k']);
37+
readComponents(['i', 'j', 'k']);
3838

39-
if(!coords || !indices) {
39+
if(!coords) {
4040
traceOut.visible = false;
4141
return;
4242
}

0 commit comments

Comments
 (0)