Initialize viewportLayoutState to null in loadOrCreateSceneDocument
This commit is contained in:
@@ -262,6 +262,7 @@ export function loadOrCreateSceneDocument(
|
|||||||
if (storage === null) {
|
if (storage === null) {
|
||||||
return {
|
return {
|
||||||
document: createEmptySceneDocument(),
|
document: createEmptySceneDocument(),
|
||||||
|
viewportLayoutState: null,
|
||||||
diagnostic: null
|
diagnostic: null
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user