Skip to content

Commit

Permalink
refactor: adjust computed time
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Oct 15, 2024
1 parent b92b3b6 commit 3f4e4c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/g-lite/src/services/SceneGraphService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,6 @@ export class DefaultSceneGraphService implements SceneGraphService {

this.sync(element, transform);

transform.computed = true;
return worldTransform;
}

Expand Down Expand Up @@ -1114,6 +1113,8 @@ export class DefaultSceneGraphService implements SceneGraphService {

transform.dirtyFlag = false;
}

transform.computed = true;
}

/**
Expand Down

0 comments on commit 3f4e4c9

Please sign in to comment.