cad-editor/src/app/commands
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 7f3ebde663 fix(properties): repaint on linetype/lineweight/layer edits (#231 class)
Color/linetype/lineweight/layer are baked into the cached wire geometry
at tessellation time, so a property edit only repaints if the handler
bumps the geometry epoch. The color path did; several siblings only set
tabs.dirty (a save flag) and never re-tessellated, leaving the viewport
showing the stale look.

Route every handle-based edit through invalidate_property_targets
(mark dirty + recolor meshes + bump geometry), and full-bump the
name-based LAYER COLOR change:

- ribbon layer / linetype / lineweight dropdowns applied to a selection
- CHPROP (color/linetype/ltscale/transparency/layer)
- LAYMATCH (MatchEntityLayer)
- LAYER COLOR <name> <aci>

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 19:14:35 +03:00
..
blocks.rs feat(commands): add CLOSE, HIDE, VISUALSTYLES, QUICKCALC, HYPERLINK, XOPEN 2026-06-29 09:04:18 +03:00
dim.rs feat(commands): expand standard CAD command coverage 2026-06-29 08:23:58 +03:00
display.rs fix(render): repaint on layer/property edits (#231) 2026-06-30 23:41:13 +03:00
draw.rs feat(commands): add FLATSHOT and CONVTOSURFACE 2026-06-29 09:16:44 +03:00
fileops.rs fix(background): step-by-step prompt + Default preset (#217) 2026-06-30 17:55:44 +03:00
inquiry.rs feat(command): ADDSELECTED draws a new object like the selected one (#239) 2026-07-01 18:42:26 +03:00
layerprops.rs fix(properties): repaint on linetype/lineweight/layer edits (#231 class) 2026-07-01 19:14:35 +03:00
layers.rs fix(select): accumulate selection set, apply on Enter/RMB (#220) 2026-06-29 22:58:21 +03:00
mod.rs feat(command): ADDSELECTED draws a new object like the selected one (#239) 2026-07-01 18:42:26 +03:00
styleprops.rs fix(properties): repaint on linetype/lineweight/layer edits (#231 class) 2026-07-01 19:14:35 +03:00
view.rs feat(commands): add CLOSE, HIDE, VISUALSTYLES, QUICKCALC, HYPERLINK, XOPEN 2026-06-29 09:04:18 +03:00