diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index bf1a160..fc5b1e0 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -1170,6 +1170,7 @@ export function ModelViewerCanvas({ url }: ModelViewerProps) { + { + // Expose to the ViewCube bus + import('./viewCubeBus').then(({ mainControlsRef }) => { + mainControlsRef.current = c; + }); + }} />