mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
The rounded clip compiler replays the frame into a scratch root scene. It then replaces the operation stream of that scene with the original stream. Before this change, the root scene recorded each operation again, and the compiler discarded that copy without a read. Add a private flag on `Scene` that stops the recording, and set it only on the scratch root scene. Child clip scenes keep their streams, because the empty-group check reads them. The compiler clears the flag before it returns the scene.