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 only from version 7
stories, storyThumb and storyTags arrived with version 7, so they are gated by version like anchors and dataPacks.
This commit is contained in:
1 parent
1fa053e22d
commit
20f6ceb74c
4 files changed
+30
-14
No files matched your search
@@ -95,11 +95,9 @@ export function validateSceneDocument(project) {
|
||||
'releaseLayerIds',
|
||||
'appliedShotPacks',
|
||||
'shots',
|
||||
'stories',
|
||||
'storyThumb',
|
||||
'storyTags',
|
||||
...(version >= 4 ? ['anchors'] : []),
|
||||
...(version >= 5 ? ['dataPacks'] : []),
|
||||
...(version >= 7 ? ['stories', 'storyThumb', 'storyTags'] : []),
|
||||
]);
|
||||
uniqueId(scene, path, sceneIds);
|
||||
optional(scene, 'title', path, (v, p) => string(v, p, 4096));
|
||||
|
||||
Reference in new issue
Block a user