auto-git:

[change] src/viewport-three/viewport-host.ts
This commit is contained in:
2026-05-02 04:18:38 +02:00
parent 3cfffe59d8
commit f51e80a03f

View File

@@ -1638,6 +1638,10 @@ export class ViewportHost {
this.cancelActiveTerrainBrushStroke(false); this.cancelActiveTerrainBrushStroke(false);
} }
if (terrainChanged || toolChanged || layerChanged || terrainBrushState === null) {
this.rebuildDisplayedTerrainState();
}
if (terrainBrushState === null || this.toolMode !== "select") { if (terrainBrushState === null || this.toolMode !== "select") {
this.setTerrainBrushHover(null); this.setTerrainBrushHover(null);
return; return;