mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
Phase 1 moved camera, freeCamState, and focalLengthToFov off Editor and onto CameraController, but two camera-update blocks in PageEditor (handleSelectCamera and handleAddCamera) still read editorEngine.camera, editorEngine.focalLengthToFov, and editorEngine.freeCamState. Those fields are undefined now, so the cam-update guards short-circuited and the reset/random-camera buttons silently did nothing. Sweep both blocks to read from editorEngine.cameraController.* and collapse the chain into a local `cam` const.