Skip to content

Commit 68bb949

Browse files
committed
rm useless field (not found in gl-surface3d)
1 parent 07f60e3 commit 68bb949

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/traces/surface/convert.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,11 @@ proto.update = function(data) {
280280
}
281281

282282
var highlightEnable = [true, true, true];
283-
var contourEnable = [true, true, true];
284283
var axis = ['x', 'y', 'z'];
285284

286285
for(i = 0; i < 3; ++i) {
287286
var contourParams = data.contours[axis[i]];
288287
highlightEnable[i] = contourParams.highlight;
289-
contourEnable[i] = contourParams.show;
290288

291289
params.showContour[i] = contourParams.show || contourParams.highlight;
292290
if(!params.showContour[i]) continue;
@@ -323,7 +321,6 @@ proto.update = function(data) {
323321
surface.update(params);
324322

325323
surface.highlightEnable = highlightEnable;
326-
surface.contourEnable = contourEnable;
327324
surface.visible = data.visible;
328325

329326
surface.snapToData = true;

0 commit comments

Comments
 (0)