Require active session when updating transform preview handler
This commit is contained in:
@@ -1281,7 +1281,10 @@ export class ViewportHost {
|
||||
this.applyTransformPreview();
|
||||
this.syncTransformGizmo();
|
||||
|
||||
if (rebuiltPreviewFromPointer) {
|
||||
if (
|
||||
rebuiltPreviewFromPointer &&
|
||||
this.currentTransformSession.kind === "active"
|
||||
) {
|
||||
this.transformPreviewChangeHandler?.(this.currentTransformSession);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user