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}
|
maxDistance={50}
|
||||||
enabled={!positionMode}
|
enabled={!positionMode}
|
||||||
ref={(c: any) => {
|
ref={(c: any) => {
|
||||||
// Expose to the ViewCube bus
|
mainControlsRef.current = c;
|
||||||
import('./viewCubeBus').then(({ mainControlsRef }) => {
|
|
||||||
mainControlsRef.current = c;
|
|
||||||
});
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user