瓶中沙 2024-01-09 18:46:51 +08:00
parent 16e913b4df
commit 08b2ed19e6
2 changed files with 3099 additions and 2948 deletions

File diff suppressed because one or more lines are too long

View File

@ -573,7 +573,8 @@ const removeLabel = () => {
// //
const setBottom = () => { const setBottom = () => {
var target = scene.getObjectByName('tanghua_1F'); var target = scene.getObjectByName('tanghua_2F');
centerSelectedGroup(target);
console.log(target); console.log(target);
if (isRemoveBottom.value) { if (isRemoveBottom.value) {
target.visible = false; target.visible = false;
@ -672,6 +673,7 @@ const changeMap = (img) => {
} }
// //
const check = () => { const check = () => {
if (currentIndex < romeObj.length) { if (currentIndex < romeObj.length) {
// .getWorldPosition() // .getWorldPosition()
var checkPosition = checkArr[checkindex].getWorldPosition(new THREE.Vector3()); var checkPosition = checkArr[checkindex].getWorldPosition(new THREE.Vector3());
@ -721,7 +723,7 @@ const check = () => {
// //
const checkComplete = () => { const checkComplete = () => {
toHomeView(); toHomeView();
checkindex = 0; // checkindex = 0;
bimStore().setCheckArr(romeObj); bimStore().setCheckArr(romeObj);
emit('checkComplete', romeObj); emit('checkComplete', romeObj);
return; return;