Merge branch 'worktree-agent-a9472965c2e002097' into claude/practical-noether-1hb2s1

This commit is contained in:
Claude committed 2026-11-11 21:38:37 +00:00
commit c6dd5ce91d
19 files changed
+513 -78

No files matched your search

+6
View File
@@ -150,8 +150,14 @@ export function useSelectionCommands(opts: {
const ctxids = new Set(selection.contextObjects);
// [149] Bäume (gesperrte bleiben).
const treeids = new Set(selection.trees.filter((id) => !(project.trees ?? []).find((t) => t.id === id)?.locked));
// [193] Abgeleitete Lage-Darstellung (Schatten, Baurecht) ist kein Element: Entf blendet sie aus
// (`show: false`; über die Lage-Panels wieder einschaltbar).
const siteHide: ReturnType<typeof fieldOps> = [];
if (selection.site.includes("sunStudy") && project.sunStudy?.show) siteHide.push(...fieldOps(project, "sunStudy", { ...project.sunStudy, show: false }));
if (selection.site.includes("siteRules") && project.siteRules && project.siteRules.show !== false) siteHide.push(...fieldOps(project, "siteRules", { ...project.siteRules, show: false }));
setProject(
opsMutation((p) => [
...siteHide,
...removeItems(p, "drawings2d", dids),
...removeItems(p, "walls", wids),
...removeItems(p, "ceilings", cids),