cad-editor/src/scene
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven f9a26978dd fix(render): install the GPU error handler once per device, throttled
The uncaptured-error handler from #404 was armed in `Pipeline::new`, which
`MultiPipeline::ensure_len` runs again for every pane added — so the slot was
re-registered on every new pane. Move it to `MultiPipeline::new`, which runs
once per device; if iced ever rebuilds the device it builds a new
`MultiPipeline` too, so the fresh device stays covered — where a `Once` guard
would have left it on wgpu's panicking default.

Throttle the message. The handler slot is per-device and single, so it also
catches iced's own draw errors and is the only thing that can report them — it
has to stay loud. But a validation error normally repeats on every frame, and
an unthrottled print floods stderr at refresh rate and buries the first, most
useful message. Log the 1st, 2nd, 4th, 8th … occurrence instead: the error is
never hidden, the running count shows it is ongoing, and the output stays
finite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 10:38:53 +03:00
..
cache feat(mline): GPU-dash multiline elements with shared A-type alignment 2026-07-17 02:59:11 +03:00
convert feat(mline): GPU-dash multiline elements with shared A-type alignment 2026-07-17 02:59:11 +03:00
model feat(mline): GPU-dash multiline elements with shared A-type alignment 2026-07-17 02:59:11 +03:00
pick fix(stretch): free crossing-window corners from Ortho, draw filled marquee (#291) 2026-07-10 13:32:32 +03:00
pipeline fix(render): install the GPU error handler once per device, throttled 2026-07-17 10:38:53 +03:00
text feat(mline): GPU-dash multiline elements with shared A-type alignment 2026-07-17 02:59:11 +03:00
view chore(glam): use camera-module projection API for deprecated Mat4 rh ctors 2026-07-17 01:49:26 +03:00
annotative.rs feat(annotative): synthesize per-object contexts + editable UI 2026-07-13 22:38:29 +03:00
camera_ops.rs fix(view): show geometry far off the drawing plane 2026-07-15 22:21:38 +03:00
entity.rs fix(solid): keep SOLID fills placed on UTM-scale drawings 2026-07-15 22:55:51 +03:00
group_layer.rs feat(ui): bulk layer on/off, lock, freeze, transparency + Ctrl+A (#236) 2026-07-03 16:06:10 +03:00
layout.rs feat(layout): reopen a drawing in the space it was saved in 2026-07-12 01:01:40 +03:00
mod.rs fix(export): project viewport text into paper space 2026-07-16 10:06:15 +03:00
modify.rs perf(undo): record entity deltas instead of cloning the whole document 2026-07-15 11:11:17 +03:00
mspace.rs feat(nav): turntable orbit, selection/cursor pivot, Shift+MMB rotate (#229) 2026-07-01 21:58:04 +03:00
page_setup.rs fix(io): resolve root named-objects dict robustly on foreign DWGs 2026-07-13 16:28:21 +03:00
paper.rs perf(render): unify model/paper/block spaces on one resident wire path 2026-07-14 20:50:37 +03:00
preview.rs fix(stretch): free crossing-window corners from Ortho, draw filled marquee (#291) 2026-07-10 13:32:32 +03:00
project.rs fix(export): project viewport text into paper space 2026-07-16 10:06:15 +03:00
selection.rs perf(undo): record entity deltas instead of cloning the whole document 2026-07-15 11:11:17 +03:00