diff --git a/src/app/babylon/model/data/mark/mark-property.ts b/src/app/babylon/model/data/mark/mark-property.ts index f36b9ce..f9d22eb 100644 --- a/src/app/babylon/model/data/mark/mark-property.ts +++ b/src/app/babylon/model/data/mark/mark-property.ts @@ -30,12 +30,18 @@ export class MarkProperty { */ description: string; + /** + * 主要角色 + */ + isMainCharacter: boolean = false; + constructor(taskType?: MarkTask, institution: string = "未命名", index: number = 1, task: string = "待命", description?: string) { this.taskType = taskType this.institution = institution this.index = index this.task = task - this.description = description + this.description = description; + this.isMainCharacter = false; } diff --git a/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts b/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts index 711a3e5..4629773 100644 --- a/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts +++ b/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts @@ -20,7 +20,6 @@ import { GizmoTool } from "../../tool/gizmo-tool"; import { TsTool } from "../../tool/ts-tool"; import { BuildingWindow } from "../building-window/building-window"; -import { FacilityWindow } from "../facility-window/facility-window"; import { UIBase } from "../window-base/ui-base"; import { FacilityInfoUIItem } from "./facilityinfo-ui-item"; @@ -464,12 +463,14 @@ export class FacilityInfoInSceneWindow extends UIBase { if (eventData.pickInfo.hit && !SceneManager.s_isPointerDrag) { instance.doubleClickModle(eventData.pickInfo); + } break; } } + /** * 选中加油机时,高亮颜色 */