From d7c150a5d4a395a2c5da8d9de2c59f1d9772ea14 Mon Sep 17 00:00:00 2001 From: JujieX Date: Tue, 12 Dec 2023 16:01:57 +0800 Subject: [PATCH] fix: use late update for wireframe drawer --- packages/auxiliary-lines/src/WireframeManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/auxiliary-lines/src/WireframeManager.ts b/packages/auxiliary-lines/src/WireframeManager.ts index 692fd926..704493d5 100644 --- a/packages/auxiliary-lines/src/WireframeManager.ts +++ b/packages/auxiliary-lines/src/WireframeManager.ts @@ -459,7 +459,7 @@ export class WireframeManager extends Script { this._renderer.enabled = false; } - override onUpdate(deltaTime: number): void { + override onLateUpdate(deltaTime: number): void { const { _mesh: mesh, _localPositions: localPositions,