From 633986ddce4cc56138e9472691ac5d3f9c096224 Mon Sep 17 00:00:00 2001 From: liuxianghui <519646741@qq.com> Date: Thu, 18 Nov 2021 11:02:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/babylon/controller/mode-manager.ts | 2 +- src/app/babylon/view/building-window/building-window.ts | 2 +- .../view/facilityinfoinscene-window/facilityinfo-ui-item.ts | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/babylon/controller/mode-manager.ts b/src/app/babylon/controller/mode-manager.ts index 27cb259..330f13a 100644 --- a/src/app/babylon/controller/mode-manager.ts +++ b/src/app/babylon/controller/mode-manager.ts @@ -18,7 +18,7 @@ export class ModeManager { * 当前模式的类型 * 外部使用 currentMode 属性访问和修改 */ - private static s_currentMode: ModeType = ModeType.Edit; + private static s_currentMode: ModeType = ModeType.Look; /** * 制作模式代表内部编辑人员,可新增单位、上传模型,查看模式代表交付的模式 diff --git a/src/app/babylon/view/building-window/building-window.ts b/src/app/babylon/view/building-window/building-window.ts index 94c793e..1b852b2 100644 --- a/src/app/babylon/view/building-window/building-window.ts +++ b/src/app/babylon/view/building-window/building-window.ts @@ -376,7 +376,7 @@ export class BuildingWindow extends UIBase { // console.log("选中建筑", modelInfo); this.showJYZModules(JYZInfoMoudleType.AQSS, false); this.showJYZModules(JYZInfoMoudleType.YQHSGX, false); - this.showJYZModules(JYZInfoMoudleType.YQHSGX, false); + this.showJYZModules(JYZInfoMoudleType.SYG, false); this.recoverMoudleShow(null); //this.onChangeCurrentBuildingItem(item); diff --git a/src/app/babylon/view/facilityinfoinscene-window/facilityinfo-ui-item.ts b/src/app/babylon/view/facilityinfoinscene-window/facilityinfo-ui-item.ts index f9126ba..8c2e292 100644 --- a/src/app/babylon/view/facilityinfoinscene-window/facilityinfo-ui-item.ts +++ b/src/app/babylon/view/facilityinfoinscene-window/facilityinfo-ui-item.ts @@ -98,10 +98,10 @@ export class FacilityInfoUIItem { } else { this.facilityInfoInSceneWindow.selectFacilityItemToThree([this], false); - if (!this.facilityInfoInSceneWindow.getFacilityUIShowType(this.getType())) { - this.modelInfo.setIconEnable(select); + // if (!this.facilityInfoInSceneWindow.getFacilityUIShowType(this.getType())) { + // this.modelInfo.setIconEnable(select); - } + // } this.facilityInfoInSceneWindow.playJYJSelectEffect(select, this.modelInfo) }