diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index 62cc5e0..c507ce0 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -5,6 +5,7 @@ import { Loader2 } from 'lucide-react'; import * as THREE from 'three'; import { useModelStore, type SceneModel } from '@/stores/useModelStore'; import { findNearestVertex, detectHoleAtFace, findNearestEdgeSegment, detectCircularEdgeAtPoint } from './SmartMeasure'; +import { registerModelLocalGroup, unregisterModelLocalGroup } from '@/lib/modelTransforms'; interface ModelViewerProps { url?: string; // legacy, ignored — uses store.models