From a26d95f805f9575b5ba80c758adaf65efd64d0ba Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 21 May 2026 13:44:18 +0000 Subject: [PATCH] Changes Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com> --- src/components/three/ModelViewer.tsx | 29 ++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index b728924..d06236d 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -269,15 +269,16 @@ function MeasurementOverlay() { )} - {/* Hover auto-detect tooltip */} + {/* Hover auto-detect tooltip (works both inside and outside measure mode) */} {hoverInfo && ( - )} {/* Pending first point */} @@ -295,6 +296,26 @@ function MeasurementOverlay() { (a[2] + b[2]) / 2, ]; + if (m.kind === 'hole') { + return ( + + + + + ); + } + + if (m.kind === 'edge') { + return ( + + + + + + + ); + } + return (