feat: Remove localStorage camera position and control target management from various components

This commit is contained in:
2025-07-07 17:13:43 +05:30
parent d96730368b
commit 5af0ba303e
4 changed files with 0 additions and 16 deletions

View File

@@ -49,9 +49,6 @@ export default function Controls() {
controlsRef.current?.setTarget(...CONSTANTS.threeDimension.defaultTarget);
controlsRef.current?.rotateAzimuthTo(CONSTANTS.threeDimension.defaultAzimuth);
localStorage.setItem("cameraPosition", JSON.stringify(new THREE.Vector3(...CONSTANTS.threeDimension.defaultPosition)));
localStorage.setItem("controlTarget", JSON.stringify(new THREE.Vector3(...CONSTANTS.threeDimension.defaultTarget)));
const camData = {
organization,
userId: userId,