廖杰:风机状态颜色修复+修复选中模式多次发送请求
This commit is contained in:
@@ -13,6 +13,7 @@ import { editTunnelInit } from "./editTunnelInit";
|
||||
import { addEquipment, removeEquipment } from "./editEquipment";
|
||||
import previewtunnelModeInit from "./previewTunnelInit"
|
||||
import { StreetSignTag } from "./utils/StreetSignTag/StreetSignTag.js";
|
||||
// import { fa } from "element-plus/es/locale/index.js";
|
||||
// import { ref } from "vue";
|
||||
export default class Demo {
|
||||
// 摄像机看向位置s
|
||||
@@ -255,11 +256,11 @@ export default class Demo {
|
||||
} else {
|
||||
if (isedit != true) {
|
||||
// console.log(isedit);
|
||||
//附着点设置方框
|
||||
//附着点设置方框(已经被选中了的情况)
|
||||
this.setBoxHelper(intersects[0].object);
|
||||
this._handleLHover(intersects[0].object);
|
||||
}
|
||||
|
||||
}
|
||||
this.preHover.material.color.set("white");
|
||||
this.preHover = intersects[0].object;
|
||||
}
|
||||
@@ -434,6 +435,7 @@ export default class Demo {
|
||||
v.material.color = new this.THREE.Color(0xC0C0C0);
|
||||
if (/^leaf/.test(v.name) || /^roller/.test(v.name)) {
|
||||
group.add(v.clone());
|
||||
// console.log(group);
|
||||
v.visible = false;
|
||||
// console.log(v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user