mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Scene document: accept the Stories fields from version 6 again
Early Stories builds wrote stories, storyThumb and storyTags in version 6 projects, so those projects load again; the fields stay refused before version 6. The version 6 round trip is tested again.
This commit is contained in:
1 parent
807e872731
commit
095e4161d8
4 files changed
+14
-10
No files matched your search
@@ -1,7 +1,8 @@
|
||||
# Scene document format
|
||||
|
||||
Authoring exports a UTF-8 JSON project. Version 7 records Stories metadata.
|
||||
Versions 1 through 6 and unversioned legacy files migrate on import. Existing shots keep their
|
||||
Versions 1 through 6 and unversioned legacy files migrate on import, including
|
||||
version 6 projects written by early Stories builds. Existing shots keep their
|
||||
camera behavior. Unknown versions or unsupported fields are rejected with a
|
||||
field path before the current project, selection or saved bytes change.
|
||||
|
||||
@@ -33,9 +34,9 @@ Each scene requires a `shots` array; optional fields are `id`, `title`,
|
||||
`releaseLayerIds`, `appliedShotPacks` and version-4 `anchors`. A pack marker has `id`, optional numeric
|
||||
`version` and `shotBindings` (original shot title to saved shot ID). These markers
|
||||
retain the editor's existing pack-update and rename behavior.
|
||||
From version 7, scenes may include `stories` (true when saved to Stories),
|
||||
`storyThumb` (a JPEG or PNG data URL of at most 300,000 characters) and
|
||||
`storyTags` (up to five supported topic keys).
|
||||
From version 6 (written by early Stories builds), scenes may include `stories`
|
||||
(true when saved to Stories), `storyThumb` (a JPEG or PNG data URL of at most
|
||||
300,000 characters) and `storyTags` (up to five supported topic keys).
|
||||
|
||||
Shots accept `id`, `title`, `durationSec`, `holdSec`, `camera`, `visual`, `layers`,
|
||||
`sourcePackId`, `sourcePackVersion` and version-4 `move`. Scene IDs are unique within the project;
|
||||
|
||||
Reference in new issue
Block a user