Implement foliage paint and erase brush modes
This commit is contained in:
@@ -9352,6 +9352,10 @@ export class ViewportHost {
|
|||||||
return TERRAIN_BRUSH_PREVIEW_SMOOTH_COLOR;
|
return TERRAIN_BRUSH_PREVIEW_SMOOTH_COLOR;
|
||||||
case "flatten":
|
case "flatten":
|
||||||
return TERRAIN_BRUSH_PREVIEW_FLATTEN_COLOR;
|
return TERRAIN_BRUSH_PREVIEW_FLATTEN_COLOR;
|
||||||
|
case "foliagePaint":
|
||||||
|
return TERRAIN_BRUSH_PREVIEW_FOLIAGE_PAINT_COLOR;
|
||||||
|
case "foliageErase":
|
||||||
|
return TERRAIN_BRUSH_PREVIEW_FOLIAGE_ERASE_COLOR;
|
||||||
case "paint": {
|
case "paint": {
|
||||||
const terrain =
|
const terrain =
|
||||||
this.getDisplayedTerrainState(brushState.terrainId) ??
|
this.getDisplayedTerrainState(brushState.terrainId) ??
|
||||||
|
|||||||
Reference in New Issue
Block a user