刘向辉 3 years ago
parent
commit
633986ddce
  1. 2
      src/app/babylon/controller/mode-manager.ts
  2. 2
      src/app/babylon/view/building-window/building-window.ts
  3. 6
      src/app/babylon/view/facilityinfoinscene-window/facilityinfo-ui-item.ts

2
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;
/**
*

2
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);

6
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)
}

Loading…
Cancel
Save