123
parent
16e913b4df
commit
08b2ed19e6
5945
public/jzc/jz.gltf
5945
public/jzc/jz.gltf
File diff suppressed because one or more lines are too long
|
@ -573,7 +573,8 @@ const removeLabel = () => {
|
|||
|
||||
// 设置地板
|
||||
const setBottom = () => {
|
||||
var target = scene.getObjectByName('tanghua_1F');
|
||||
var target = scene.getObjectByName('tanghua_2F');
|
||||
centerSelectedGroup(target);
|
||||
console.log(target);
|
||||
if (isRemoveBottom.value) {
|
||||
target.visible = false;
|
||||
|
@ -672,6 +673,7 @@ const changeMap = (img) => {
|
|||
}
|
||||
// 巡检
|
||||
const check = () => {
|
||||
|
||||
if (currentIndex < romeObj.length) {
|
||||
// .getWorldPosition()属性需要用三维向量表示摸个坐标后方可读取
|
||||
var checkPosition = checkArr[checkindex].getWorldPosition(new THREE.Vector3());
|
||||
|
@ -721,7 +723,7 @@ const check = () => {
|
|||
// 巡检结束
|
||||
const checkComplete = () => {
|
||||
toHomeView();
|
||||
checkindex = 0;
|
||||
// checkindex = 0;
|
||||
bimStore().setCheckArr(romeObj);
|
||||
emit('checkComplete', romeObj);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue