Skip to content

Commit

Permalink
Provide default skirt height for tiled TerrainLayer (visgl#5982)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Jul 19, 2021
1 parent 01444a3 commit 9ecb7b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/geo-layers/src/terrain-layer/terrain-layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default class TerrainLayer extends CompositeLayer {
loadOptions = {
...loadOptions,
terrain: {
skirtHeight: this.state.isTiled ? meshMaxError * 2 : 0,
...loadOptions?.terrain,
bounds,
meshMaxError,
Expand Down

0 comments on commit 9ecb7b4

Please sign in to comment.