[97][98] Objekt-Info: Aussenbauteil und tragend für Wand und Decke

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
Claude committed 2026-11-04 14:46:13 +00:00
1 parent b3ac306ead
commit 4c61000fea
8 files changed
+43 -1

No files matched your search

+7
View File
@@ -825,6 +825,13 @@ export function usePanelHostBase(opts: {
// "auto" ist der Default ⇒ als undefined speichern.
updateWall(selection.id, { roofAttach: attach === "auto" ? undefined : attach === "on" });
},
onSetBuildingFlags: (flags) => {
const patch: { isExternal?: boolean; loadBearing?: boolean } = {};
if (flags.isExternal !== undefined) patch.isExternal = flags.isExternal || undefined;
if (flags.loadBearing !== undefined) patch.loadBearing = flags.loadBearing || undefined;
if (selection?.kind === "wall") updateWall(selection.id, patch);
else if (selection?.kind === "ceiling") updateCeiling(selection.id, patch);
},
onSetWallType: (wallTypeId) => {
if (selection?.kind === "wall")
updateWall(selection.id, { wallTypeId });