Update ViewerPanel.tsx

This commit is contained in:
ochafik 2024-12-25 01:51:42 +00:00 committed by Olivier Chafik
commit 719641ca7b

View file

@ -38,7 +38,6 @@ export default function ViewerPanel({className, style}: {className?: string, sty
if (!otherRef.current) return;
if (e.detail.source === 'user-interaction') {
const cameraOrbit = ref.current.getCameraOrbit();
console.log(cameraOrbit.toString());
cameraOrbit.radius = otherRef.current.getCameraOrbit().radius;
otherRef.current.cameraOrbit = cameraOrbit.toString();