Import and use terrain brush utilities in App.tsx and update viewport-host.ts
This commit is contained in:
@@ -7358,7 +7358,7 @@ export class ViewportHost {
|
||||
const committed =
|
||||
this.terrainBrushCommitHandler?.({
|
||||
terrain: cloneTerrain(finalPreviewTerrain),
|
||||
commandLabel: `${toolState.tool.charAt(0).toUpperCase()}${toolState.tool.slice(1)} terrain`,
|
||||
commandLabel: getTerrainBrushCommandLabel(toolState.tool),
|
||||
tool: toolState.tool
|
||||
}) === true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user