diff --git a/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts b/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts index 3250cd0..4e715ea 100644 --- a/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts +++ b/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts @@ -98,6 +98,7 @@ export class FacilityInfoInSceneWindow extends UIBase { { if (this.currentFacility != null) { for (let i = 0; i < this.currentFacility.length; i++) { + console.log("取消选中", facilityInfoUIItem.getName()); this.currentFacility[i].onSelect(false); } this.currentFacility = []; @@ -530,7 +531,8 @@ export class FacilityInfoInSceneWindow extends UIBase { //this.playJYJSelectEffect(true, result); let facilityItem: FacilityInfoUIItem = FacilityInfoInSceneWindow.instance.getFacilityItem(result); console.log("场景中选中设备", facilityItem); //通知前端 - facilityItem.onSelect(true); + this.selectFacilityItem(facilityItem); + // facilityItem.onSelect(true); //FacilityInfoInSceneWindow.instance.selectFacilityItemToThree([facilityItem], true); //console.log(facilityItem.getHeadUIPos()); }