Add default project time settings in scene document migration and test cases
This commit is contained in:
@@ -320,6 +320,7 @@ describe("scene document JSON", () => {
|
|||||||
const migratedDocument = migrateSceneDocument({
|
const migratedDocument = migrateSceneDocument({
|
||||||
version: SCENE_DOCUMENT_VERSION,
|
version: SCENE_DOCUMENT_VERSION,
|
||||||
name: "Legacy Water Settings",
|
name: "Legacy Water Settings",
|
||||||
|
time: createDefaultProjectTimeSettings(),
|
||||||
world: {
|
world: {
|
||||||
...createEmptySceneDocument().world,
|
...createEmptySceneDocument().world,
|
||||||
advancedRendering: {
|
advancedRendering: {
|
||||||
@@ -2349,6 +2350,7 @@ describe("scene document JSON", () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
time: createDefaultProjectTimeSettings(),
|
||||||
modelInstances: {},
|
modelInstances: {},
|
||||||
entities: {
|
entities: {
|
||||||
"shared-id": {
|
"shared-id": {
|
||||||
|
|||||||
Reference in New Issue
Block a user