[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:
8 files changed
+43
-1
No files matched your search
@@ -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 });
|
||||
|
||||
Reference in new issue
Block a user