Rename mesh metadata polygon key to drop floorplan prefix

This commit is contained in:
wass08
2026-04-28 07:31:52 -04:00
parent a64d6b86cc
commit 758f06454c
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ function getCachedLocalMeshPolygon(item: ItemNode): Point[] | null {
typeof item.metadata === 'object' && item.metadata !== null && !Array.isArray(item.metadata)
? (item.metadata as Record<string, unknown>)
: null
const rawPolygon = metadata?.floorplanLocalPolygon
const rawPolygon = metadata?.meshLocalPlanPolygon
if (!Array.isArray(rawPolygon)) {
return null
}