feat: harden end-to-end simulation workflow
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
} from "/packages/contracts/validation.js";
|
||||
import { createCameraAssetRuntime } from "./asset-runtime.js";
|
||||
import {
|
||||
alignExperimentToScene,
|
||||
canonicalStringify,
|
||||
createHistorySummary,
|
||||
createResultDocument,
|
||||
@@ -919,6 +920,7 @@ async function importDocument(kind, input) {
|
||||
} else if (kind === "scene") {
|
||||
state.scene = value;
|
||||
state.experiment.sceneId = value.id;
|
||||
alignExperimentToScene(state.experiment, value);
|
||||
assetRuntime.reset();
|
||||
} else {
|
||||
state.experiment = value;
|
||||
|
||||
Reference in New Issue
Block a user