Dach: Auswahl-Hervorhebung auch im 3D (Draht-Umriss der Dachflächen)

selectionHighlightLines bekommt roofIds und emittiert die Kanten aller
Dachflächen + Giebel (roofGeometry, Modell→World) als Akzent-Draht — ein
selektiertes Dach leuchtet jetzt im wgpu-Viewport wie Wand/Decke. App reicht
selectedRoofIds durch. +1 Test. tsc + vitest grün.
This commit is contained in:
2026-07-10 00:35:26 +02:00
parent eaf57e2292
commit 64f61797d8
3 changed files with 35 additions and 2 deletions
+4 -1
View File
@@ -5984,7 +5984,8 @@ function Content({
selectedWallIds.length === 0 &&
selectedCeilingIds.length === 0 &&
selectedOpeningIds.length === 0 &&
selectedStairIds.length === 0
selectedStairIds.length === 0 &&
selectedRoofIds.length === 0
? null
: selectionHighlightLines(
project,
@@ -5993,6 +5994,7 @@ function Content({
HIGHLIGHT_RGB,
selectedOpeningIds,
selectedStairIds,
selectedRoofIds,
),
[
project,
@@ -6000,6 +6002,7 @@ function Content({
selectedCeilingIds,
selectedOpeningIds,
selectedStairIds,
selectedRoofIds,
],
);