fix(web): reject stale sequencer transition timelines
setSequencerTransitions parsed the submitted timeline without comparing timeline.revision, so a stale submission replaced the sequencer timeline instead of conflicting. It now compares timeline.revision against the current SceneIR and reports REVISION_CONFLICT, which is the check setSequencerStrips already makes. The revision contract moves the command out of the unchecked set, and the authoring probe takes its timeline from a snapshot read after its edits and records a stale submission next to an accepted one. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -90,10 +90,10 @@ const PREFLIGHT = [
|
||||
"setSceneViewLayerLightgroups",
|
||||
"setSculptMeshAttributes",
|
||||
"setSequencerStrips",
|
||||
"setSequencerTransitions",
|
||||
];
|
||||
const UNCHECKED = [
|
||||
"setNLAStack",
|
||||
"setSequencerTransitions",
|
||||
];
|
||||
|
||||
const keysBy = (select) => Object.keys(CONTRACTS).filter((type) => select(CONTRACTS[type])).sort();
|
||||
|
||||
Reference in New Issue
Block a user