Reset active terrain brush stroke and sync preview on document update

This commit is contained in:
2026-04-18 20:23:52 +02:00
parent b9ac6b2b00
commit 011e20c973

View File

@@ -765,6 +765,7 @@ export class ViewportHost {
selection: EditorSelection,
activeSelectionId: string | null
) {
this.activeTerrainBrushStroke = null;
this.currentDocument = document;
this.currentSelection = selection;
this.currentActiveSelectionId = activeSelectionId;
@@ -779,6 +780,7 @@ export class ViewportHost {
this.rebuildModelInstances(document, selection);
this.applyTransformPreview();
this.syncTransformGizmo();
this.syncTerrainBrushPreview();
}
updateAssets(