cad-editor/src/scene/view
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 94609fc54a fix(text): bake draw-order depth into glyphs so fills can't cover text
Fill triangles (DIMTFILL backgrounds, MLEADER masks, hatches) carry the
entity's draw-order rank, but SDF glyph quads were pushed at neutral 0.0
— any entity in the front half of the draw order had its own background
fill painted over its text. gather_text_verts now adds the host wire's
wire_draw_depth to each glyph: a text background lands at the same
biased depth (glyphs draw after fills and win the LessEqual test), and
text respects draw order against other entities' fills too.

The #403 glyph-reuse fast path gains a rank-stability gate: adding or
removing an entity shifts every sibling's bias (the rank denominator
changes), so reuse is only safe across all-Modified edits.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 01:13:33 +03:00
..
camera.rs fix(view): ZOOM Extents fills the window at the real aspect (#364) 2026-07-21 23:09:37 +03:00
dispatch.rs fix(render): close remaining OCS/WCS gaps for mirrored entities 2026-07-21 17:58:09 +03:00
mod.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00
render.rs fix(text): bake draw-order depth into glyphs so fills can't cover text 2026-07-23 01:13:33 +03:00
transform.rs fix(render): close remaining OCS/WCS gaps for mirrored entities 2026-07-21 17:58:09 +03:00
viewport_pane.rs feat(viewport): hide ViewCube then render bar as the viewport narrows 2026-07-10 14:58:48 +03:00