|
@@ -162,7 +162,8 @@ const photo = async () => {
|
|
|
loading.value = true;
|
|
|
const bigImages = getPointPano(
|
|
|
point.value,
|
|
|
- [SceneType.CLUNT, SceneType.MESH].includes(point.value.sceneType),
|
|
|
+ // [SceneType.CLUNT, SceneType.MESH].includes(point.value.sceneType),
|
|
|
+ true,
|
|
|
false
|
|
|
);
|
|
|
if (
|
|
@@ -256,11 +257,7 @@ onMounted(() => {
|
|
|
if (point.value) {
|
|
|
// console.log(point.value.sceneType);
|
|
|
// SceneType.VR
|
|
|
- const yaw =
|
|
|
- point.value.sceneType === SceneType.MESH ||
|
|
|
- point.value.sceneType === SceneType.CLUNT
|
|
|
- ? 90
|
|
|
- : -90;
|
|
|
+ const yaw = currentNdx.value === 0 ? 90 : -90;
|
|
|
pano.setYaw(glMatrix.toRadian(yaw));
|
|
|
}
|
|
|
});
|