Scenes: a run resumed inside a hold plays its layers on from that moment

After placing the layers at the seek's moment, the hold settles them
without the seek, so the reveal continues from where the seek put it and
a clip the moment falls in starts again from its beginning (a clip
cannot be joined partway); one the moment is past stays finished.
This commit is contained in:
Sameh Khamis committed 2026-11-16 13:54:40 -08:00
1 parent 87b6a4d0c8
commit b2c7144cce
6 files changed
+127 -28

No files matched your search

+3 -2
View File
@@ -729,8 +729,9 @@ cancels in-flight Authoring work before it captures the view it will
restore. Dragging the timeline previews the time, and releasing
it seeks the globe once. Play after a pause, a seek or a paused link goes on
from that exact moment (`SceneDirector.startScene` with `fromProgress`), even
inside a shot or its final quarter-second: the camera, the hold and the scene
clock carry on from there. A scene that has actually ended replays from the
inside a shot or its final quarter-second: the camera, the hold, the scene
clock and the layers' reveals carry on from there (a clip that moment falls in
starts again from its beginning, and the hold waits for it). A scene that has actually ended replays from the
beginning.
Opening Stories claims the camera through the shared navigation policy, so
+4 -2
View File
@@ -39,8 +39,10 @@ point of the scene's clock: the queue begins with the shot that point falls in,
carrying that point's seek state as `resume`. Inside the shot's flight the camera
goes on from there along the rest of the path a seek samples, over the rest of the
flight; inside its hold, the layers take that moment's state as a seek gives them
(a clip playing at that moment is not started again) and only the rest of the
hold is waited out. The scene clock carries on from the same point. `SceneDirector` still owns editor state, saved-project import/export,
and then play on from it: a reveal goes on from where the seek put it, and a
clip the moment falls in starts again from its beginning (a clip cannot be
joined partway), while one the moment is past stays finished. Only the rest of
the hold is waited out. The scene clock carries on from the same point. `SceneDirector` still owns editor state, saved-project import/export,
camera ownership and asynchronous load/seek arbitration. Pure seek calculations
live in `src/director/timeline.js`; `src/director/clock.js` owns the run/load/shot
tickers, hold deadlines, snapshots and clock subscriptions. Stop settles pending