mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +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
@@ -97,7 +97,8 @@ export function validateSceneDocument(project) {
|
||||
'shots',
|
||||
...(version >= 4 ? ['anchors'] : []),
|
||||
...(version >= 5 ? ['dataPacks'] : []),
|
||||
...(version >= 7 ? ['stories', 'storyThumb', 'storyTags'] : []),
|
||||
// Early Stories builds wrote these in version 6 projects.
|
||||
...(version >= 6 ? ['stories', 'storyThumb', 'storyTags'] : []),
|
||||
]);
|
||||
uniqueId(scene, path, sceneIds);
|
||||
optional(scene, 'title', path, (v, p) => string(v, p, 4096));
|
||||
|
||||
Reference in new issue
Block a user