Formalize scene viewport interaction resolver

This commit is contained in:
2026-04-03 17:16:16 +08:00
parent 27014e613e
commit 1ac2afb0bb
7 changed files with 345 additions and 156 deletions

View File

@@ -1,5 +1,22 @@
# SceneViewport Overlay/Gizmo Rework Checkpoint
## Update 2026-04-03 Phase 5A
### Interaction Resolver Completed
- Added `SceneViewportInteractionResolver.{h,cpp}` as the formal viewport-side interaction arbitration module.
- `SceneViewPanel` no longer owns overlay handle priority rules or HUD/world interaction winner selection.
- Overlay handle hit testing and HUD hit testing are now composed behind one resolver entry point.
- The panel now consumes a resolved interaction result instead of stitching together multiple hit systems inline.
### Verification
- `cmake --build build --config Debug --target editor_tests -- /p:BuildProjectReferences=false`
- `build/tests/Editor/Debug/editor_tests.exe --gtest_filter=SceneViewportInteractionResolverTest.*:SceneViewportOverlayRenderer_Test.*:SceneViewportOverlayProviderRegistryTest.*:ViewportRenderFlowUtilsTest.*`
- `cmake --build build --config Debug --target XCEditor`
All commands completed successfully in `Debug`.
## Update 2026-04-03
### Phase 4 Completed