equinor / webviz-subsurface-components

Custom subsurface visualizations for use in Webviz and/or Dash.
https://github.com/orgs/equinor/projects/24
Mozilla Public License 2.0
39 stars 40 forks source link

fix: camera vertical scale issue #2292

Closed w1nklr closed 1 month ago

w1nklr commented 1 month ago

Fix vertical scale not being taken into account on some camera manipulations.

The camera controller now explicitly separates view states sent to DeckGL (containing the vertical scaling) from the ones manipulated by the user (without vertical scale). Fix target being stuck to Z = 0 when the vertical scale becomes 0. Update storybook example rotating the camera.

hkfb commented 1 month ago

:tada: This issue has been resolved in version subsurface-viewer@1.0.2 :tada:

The release is available on GitHub release