Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -1174,10 +1174,7 @@ export function ModelViewerCanvas({ url }: ModelViewerProps) {
|
||||
maxDistance={50}
|
||||
enabled={!positionMode}
|
||||
ref={(c: any) => {
|
||||
// Expose to the ViewCube bus
|
||||
import('./viewCubeBus').then(({ mainControlsRef }) => {
|
||||
mainControlsRef.current = c;
|
||||
});
|
||||
mainControlsRef.current = c;
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user