Skip to content

Commit

Permalink
Merge pull request #2712 from plotly/surface-contours-fixes
Browse files Browse the repository at this point in the history
A few surface contours fixes
  • Loading branch information
etpinard committed Jun 11, 2018
2 parents 4981923 + 5ba1f95 commit 69a1004
Show file tree
Hide file tree
Showing 5 changed files with 831 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"gl-scatter3d": "^1.0.11",
"gl-select-box": "^1.0.2",
"gl-spikes2d": "^1.0.1",
"gl-surface3d": "^1.3.4",
"gl-surface3d": "^1.3.5",
"glslify": "^6.1.1",
"has-hover": "^1.0.1",
"has-passive-events": "^1.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/traces/surface/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ proto.update = function(data) {

surface.visible = data.visible;
surface.enableDynamic = highlightEnable;
surface.enableHighlight = highlightEnable;

surface.snapToData = true;

Expand Down
Binary file added test/image/baselines/gl3d_contour-lines2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 69a1004

Please sign in to comment.