Skip to content

[Bug] A scene saved by the editor loses what the pack loader set up: shared builds, LOD chains, and the screen-size selection #1326

Description

@miogds

Goal

A scene the editor saves and reloads draws as it did before the save.

What happens

The editor reloads a saved scene's placements one by one, through addLODLevel and the plain mesh path, not through the pack loader. Three things the pack loader sets up are therefore lost on reload:

Item Status
Serialize selectsByScreenSize and screenSizeRadius open
Reload a saved scene's placements through the pack loader's cache (one build per model) open
Find a model's chain from the model on reload, so the parts of a multi-node model switch together open

Next steps

One change: a cache per scene load, the chain found from the model, and the two LOD fields in the serializer with a format version bump. Noted as a follow-up in docs/proposals/LargeSceneRendering.md.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions