Skip to content

Commit

Permalink
Merge 1bcb65f into 12624ac
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer committed Mar 15, 2024
2 parents 12624ac + 1bcb65f commit fc99119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/extensions/src/terrain/terrain-effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export class TerrainEffect implements Effect {
terrainCover.delete();
}
this.terrainCovers.clear();

getShaderAssembler().removeDefaultModule(terrainModule);
}

private _updateHeightMap(terrainLayers: Layer[], viewport: Viewport, opts: PreRenderOptions) {
Expand Down

0 comments on commit fc99119

Please sign in to comment.