From 634baa4e1feca2d4e0fc2b3c724d130babf17525 Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Sun, 24 May 2026 19:43:46 +0000
Subject: [PATCH] Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
---
src/components/three/ModelViewer.tsx | 7 +++++++
1 file changed, 7 insertions(+)
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;
+ });
+ }}
/>