Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passive Snapshots #9693

Closed
wants to merge 2 commits into from
Closed

Passive Snapshots #9693

wants to merge 2 commits into from

Conversation

dinomut1
Copy link
Member

Splits "createSnapshot" action into "commitSnapshot" and "applySnapshot".
commitSnapshot: simply registers a new snapshot into SceneState without triggering the entity + component reactors

applySnapshot: registers a new snapshot into SceneState and triggers the reactors

Refactors commitProperty and gltf loading to set components immediately, and then passively register the snapshot using a commitSnapshot action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant