Files
artcraft/frontend/apps
Tanish Manku 89ac302392 PageScene: move switchCameraView into CameraController via DI
CameraController now owns switchCameraView. The body lifted from
SceneUtils.switchCameraView gets cross-subsystem capabilities
(scene access, transform-controls removal, selection write,
editor-state and object-panel store actions) through a new
CameraControllerDeps object that Editor wires up in initialize().

This keeps subsystems from importing each other directly: the
controller sees a narrow callback surface, not SelectionBridge or
SceneUtils. Same precedent as the existing ViewportController setters.

Deletes:
- SceneUtils.switchCameraView (helper.ts)
- Editor.switchCameraView facade

The space-bar handler in MouseControls now points directly at
cameraController.switchCameraView via the callback Editor passes in.
2026-04-30 23:47:59 -07:00
..
2026-03-12 21:35:29 +07:00