From ea986143a6cde772598d9016e4ec61c9386b4a60 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 12 May 2026 22:10:13 +0200 Subject: [PATCH] Update selection display and duplication logic for multiple path points --- src/app/App.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 1a2a3164..4da4a914 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1604,6 +1604,8 @@ function describeSelection( pointIndex === -1 ? "Path Point" : `Point ${pointIndex + 1}`; return `${pointLabel} selected (${getPathLabelById(selection.pathId, paths)})`; } + case "pathPoints": + return `${selection.pointIds.length} path points selected (${getPathLabelById(selection.pathId, paths)})`; case "entities": return `${selection.ids.length} entit${selection.ids.length === 1 ? "y" : "ies"} selected (${getEntityDisplayLabelById(resolveSelectionActiveId(selection, activeSelectionId) ?? selection.ids[0], entities, assets)})`; case "modelInstances": @@ -1990,6 +1992,7 @@ function selectionCanBeDuplicated(selection: EditorSelection): boolean { case "brushVertex": return true; case "pathPoint": + case "pathPoints": case "none": return false; } @@ -8193,6 +8196,11 @@ export function App({ ); break; } + case "pathPoints": + setStatusMessage( + `Selected ${selection.pointIds.length} path points on ${getPathLabelById(selection.pathId, pathList)} from the ${source}${suffix}.` + ); + break; case "entities": setStatusMessage( selection.ids.length === 1