From 3f4e4c9b070f3bd7d63ffef361243e2992a7dabb Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 15 Oct 2024 17:35:30 +0800 Subject: [PATCH] refactor: adjust computed time --- packages/g-lite/src/services/SceneGraphService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/g-lite/src/services/SceneGraphService.ts b/packages/g-lite/src/services/SceneGraphService.ts index 8cbd786f9..14a5d7d17 100644 --- a/packages/g-lite/src/services/SceneGraphService.ts +++ b/packages/g-lite/src/services/SceneGraphService.ts @@ -768,7 +768,6 @@ export class DefaultSceneGraphService implements SceneGraphService { this.sync(element, transform); - transform.computed = true; return worldTransform; } @@ -1114,6 +1113,8 @@ export class DefaultSceneGraphService implements SceneGraphService { transform.dirtyFlag = false; } + + transform.computed = true; } /**