diff --git a/src/viewport-three/viewport-host.ts b/src/viewport-three/viewport-host.ts index d40a6be7..9a152450 100644 --- a/src/viewport-three/viewport-host.ts +++ b/src/viewport-three/viewport-host.ts @@ -9829,6 +9829,7 @@ export class ViewportHost { typeof applyTerrainBrushStampInPlace >["foliageMaskValueIndices"]; foliageMaskValueKeys?: readonly string[]; + foliageBlockerMaskValueIndices?: readonly number[]; } ) { for (const sampleIndex of result.heightSampleIndices) { @@ -9851,6 +9852,10 @@ export class ViewportHost { for (const foliageMaskValueKey of result.foliageMaskValueKeys ?? []) { stroke.foliageMaskValueKeys.add(foliageMaskValueKey); } + + for (const maskIndex of result.foliageBlockerMaskValueIndices ?? []) { + stroke.foliageBlockerMaskValueIndices.add(maskIndex); + } } private beginTerrainBrushStroke(event: PointerEvent): boolean {