Track foliage mask value keys in ViewportHost
This commit is contained in:
@@ -9764,6 +9764,11 @@ export class ViewportHost {
|
|||||||
dirtyBounds: initialStamp.dirtyBounds,
|
dirtyBounds: initialStamp.dirtyBounds,
|
||||||
heightSampleIndices: new Set(initialStamp.heightSampleIndices),
|
heightSampleIndices: new Set(initialStamp.heightSampleIndices),
|
||||||
paintWeightIndices: new Set(initialStamp.paintWeightIndices),
|
paintWeightIndices: new Set(initialStamp.paintWeightIndices),
|
||||||
|
foliageMaskValueKeys: new Set(
|
||||||
|
initialStamp.foliageMaskValueIndices.map((entry) =>
|
||||||
|
createTerrainFoliageMaskValueKey(entry.layerId, entry.index)
|
||||||
|
)
|
||||||
|
),
|
||||||
referenceHeight,
|
referenceHeight,
|
||||||
lastAppliedPoint: {
|
lastAppliedPoint: {
|
||||||
x: hit.point.x,
|
x: hit.point.x,
|
||||||
|
|||||||
Reference in New Issue
Block a user