cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan 6cc2323905 fix(scene): skip pixel-size LOD in paper space
PaperCanvas (Iced 2-D canvas) never feeds set_render_pixel_scale, so
last_world_per_pixel held either zero or a stale model-world value.
Paper-space entity AABBs (mm) tested against model-scale wpp all
projected below the 5 px threshold and got culled — leaving only
Viewports and Inserts (which bypass the cull). world_per_pixel() now
returns None in paper space, mirroring view_world_aabb()'s existing
skip with the same reasoning: the paper canvas is small enough that
LOD culling buys nothing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 09:45:48 +03:00
..
app feat(properties): label xref Insert as "External Reference" 2026-05-15 09:19:57 +03:00
command cargo fmt 2026-05-12 10:36:15 +03:00
entities fix(render): preserve f64 precision until world_offset subtraction 2026-05-12 23:47:40 +03:00
io feat(properties): label xref Insert as "External Reference" 2026-05-15 09:19:57 +03:00
modules fix(explode): correct arc/ellipse direction in mirrored INSERT blocks 2026-05-12 22:04:12 +03:00
scene fix(scene): skip pixel-size LOD in paper space 2026-05-15 09:45:48 +03:00
shaders fix(hatch): more improvement on arc boundary and pattern 2026-05-10 20:29:39 +03:00
snap cargo fmt 2026-05-12 10:36:15 +03:00
ui feat(io): show loading overlay while opening CAD files 2026-05-13 09:59:07 +03:00
lib.rs perf(scene): cache block defns + batch wires by style 2026-05-14 11:12:08 +03:00
linetypes.rs cargo fmt 2026-05-12 10:36:15 +03:00
main.rs perf(scene): cache block defns + batch wires by style 2026-05-14 11:12:08 +03:00
patterns.rs first commit 2026-03-22 14:56:27 +03:00