Require active session when updating transform preview handler

This commit is contained in:
2026-04-27 00:33:34 +02:00
parent 1e298b56d2
commit 94cc244383

View File

@@ -1281,7 +1281,10 @@ export class ViewportHost {
this.applyTransformPreview();
this.syncTransformGizmo();
if (rebuiltPreviewFromPointer) {
if (
rebuiltPreviewFromPointer &&
this.currentTransformSession.kind === "active"
) {
this.transformPreviewChangeHandler?.(this.currentTransformSession);
}
}