feat: Remove localStorage camera position and control target management from various components
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user