Skip to content

Commit c28320e

Browse files
committed
fix typo in vertexcolor to mesh3d color convert logic
1 parent 6653e71 commit c28320e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/mesh3d/convert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ proto.update = function(data) {
127127
config.colormap = parseColorScale(data.colorscale);
128128
}
129129
else if(data.vertexcolor) {
130-
this.color = data.vertexcolors[0];
130+
this.color = data.vertexcolor[0];
131131
config.vertexColors = parseColorArray(data.vertexcolor);
132132
}
133133
else if(data.facecolor) {

0 commit comments

Comments
 (0)