From b6621079fbbc55388ccce6b5cd83f5a7e1b82583 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 12 May 2026 22:09:46 +0200 Subject: [PATCH] Fix type assertion for single path point selection in viewport host --- src/viewport-three/viewport-host.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewport-three/viewport-host.ts b/src/viewport-three/viewport-host.ts index 01b6b3ee..be5dda6f 100644 --- a/src/viewport-three/viewport-host.ts +++ b/src/viewport-three/viewport-host.ts @@ -11028,7 +11028,7 @@ export class ViewportHost { return `pathPoint:${selection.pathId}:${selection.pointId}`; case "pathPoints": return selection.pointIds.length === 1 - ? `pathPoint:${selection.pathId}:${selection.pointIds[0]}` + ? `pathPoint:${selection.pathId}:${selection.pointIds[0]!}` : null; case "entities": return selection.ids.length === 1 ? `entity:${selection.ids[0]}` : null;