Skip to content

Commit bca5814

Browse files
committed
pass cmin and cmax to gl-mesh3d object
1 parent bf6da79 commit bca5814

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/traces/mesh3d/convert.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ proto.update = function(data) {
124124
if(data.intensity) {
125125
this.color = '#fff';
126126
config.vertexIntensity = data.intensity;
127+
config.vertexIntensityBounds = [data.cmin, data.cmax];
127128
config.colormap = parseColorScale(data.colorscale);
128129
}
129130
else if(data.vertexcolor) {

0 commit comments

Comments
 (0)