editor
editor copied to clipboard
core/viewer: StairOpeningSystem, material library expansion, and UI refinements
What does this PR do?
This PR introduces several architectural improvements and features across the core, viewer, and editor packages:
- Core: Implements
StairOpeningSystemto handle automated stair opening updates in slabs and ceilings, moving this logic out of the viewer. - Material Library: Expands the catalog with new high-quality wood and flooring textures while cleaning up legacy asset references.
- Elevator: Fixes stop order preservation and handles viewport resize issues. Enhanced placement preview.
- Fence: Improved drawing logic to continue between segments.
- Visuals: Refined wall chaining, door arch clipping, and floorplan rendering for window types.
- UI: Removed redundant material strips from several panels to declutter the interface.
How to test
- Open the editor and place different stair types (straight, curved, spiral). Verify that automated openings in slabs/ceilings are correctly synchronized.
- Check the material picker for wood/flooring and verify new textures load correctly.
- Test elevator placement and multi-level stops to ensure order is preserved.
- Draw fences and verify they chain together smoothly.
- Enter walkthrough mode and verify camera distance constraints.
Screenshots / screen recording
N/A — Visual and architectural changes.
Checklist
- [x] I've tested this locally with
bun dev - [x] My code follows the existing code style (run
bun checkto verify) - [ ] I've updated relevant documentation (if applicable)
- [x] This PR targets the
mainbranch