auto-git:
[change] src/viewport-three/viewport-host.ts
This commit is contained in:
@@ -1796,8 +1796,11 @@ export class ViewportHost {
|
||||
if (toolMode !== "select") {
|
||||
this.cancelActiveTerrainBrushStroke(false);
|
||||
this.setTerrainBrushHover(null);
|
||||
this.cancelActiveTerrainGridResizeDrag(false);
|
||||
this.setTerrainGridResizeHover(null);
|
||||
} else {
|
||||
this.syncTerrainBrushPreview();
|
||||
this.syncTerrainGridResizeOverlay();
|
||||
}
|
||||
|
||||
if (toolMode !== "create") {
|
||||
@@ -1826,6 +1829,11 @@ export class ViewportHost {
|
||||
|
||||
this.currentTerrainBrushState = terrainBrushState;
|
||||
|
||||
if (terrainBrushState !== null) {
|
||||
this.cancelActiveTerrainGridResizeDrag(false);
|
||||
this.setTerrainGridResizeHover(null);
|
||||
}
|
||||
|
||||
if (
|
||||
terrainChanged ||
|
||||
toolChanged ||
|
||||
|
||||
Reference in New Issue
Block a user